	.file	"51701531.c"
	.intel_syntax noprefix
	.text
	.globl	pinmux_cfg
	.data
	.align 8
	.type	pinmux_cfg, @object
	.size	pinmux_cfg, 8
pinmux_cfg:
	.quad	262928
	.globl	pwm_ctrl
	.align 8
	.type	pwm_ctrl, @object
	.size	pwm_ctrl, 8
pwm_ctrl:
	.quad	197896
	.globl	pwm_duty
	.align 8
	.type	pwm_duty, @object
	.size	pwm_duty, 8
pwm_duty:
	.quad	197892
	.globl	pwm_period
	.align 8
	.type	pwm_period, @object
	.size	pwm_period, 8
pwm_period:
	.quad	197888
	.globl	pwm_clock
	.align 8
	.type	pwm_clock, @object
	.size	pwm_clock, 8
pwm_clock:
	.quad	197900
	.text
	.globl	set_spi_32
	.type	set_spi_32, @function
set_spi_32:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	set_spi_32, .-set_spi_32
	.globl	set_spi_16
	.type	set_spi_16, @function
set_spi_16:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, esi
	mov	WORD PTR -12[rbp], ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, WORD PTR -12[rbp]
	mov	WORD PTR [rax], dx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	set_spi_16, .-set_spi_16
	.globl	set_spi_8
	.type	set_spi_8, @function
set_spi_8:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -12[rbp], al
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR -12[rbp]
	mov	BYTE PTR [rax], dl
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	set_spi_8, .-set_spi_8
	.globl	waitfor
	.type	waitfor, @function
waitfor:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	nop
.L5:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	cmp	DWORD PTR -20[rbp], eax
	ja	.L5
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	waitfor, .-waitfor
	.globl	main
	.type	main, @function
main:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR pinmux_cfg[rip]
	mov	esi, 174720
	mov	rdi, rax
	call	set_spi_32
	mov	rax, QWORD PTR pwm_clock[rip]
	mov	esi, 2
	mov	rdi, rax
	call	set_spi_16
	mov	rax, QWORD PTR pwm_duty[rip]
	mov	esi, 5
	mov	rdi, rax
	call	set_spi_16
	mov	rax, QWORD PTR pwm_period[rip]
	mov	esi, 10
	mov	rdi, rax
	call	set_spi_16
	mov	rax, QWORD PTR pwm_ctrl[rip]
	mov	esi, 22
	mov	rdi, rax
	call	set_spi_8
	mov	edi, 100
	call	waitfor
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"51701531.c"
	.text
	.global	pinmux_cfg
	.data
	.align	2
	.type	pinmux_cfg, %object
	.size	pinmux_cfg, 4
pinmux_cfg:
	.word	262928
	.global	pwm_ctrl
	.align	2
	.type	pwm_ctrl, %object
	.size	pwm_ctrl, 4
pwm_ctrl:
	.word	197896
	.global	pwm_duty
	.align	2
	.type	pwm_duty, %object
	.size	pwm_duty, 4
pwm_duty:
	.word	197892
	.global	pwm_period
	.align	2
	.type	pwm_period, %object
	.size	pwm_period, 4
pwm_period:
	.word	197888
	.global	pwm_clock
	.align	2
	.type	pwm_clock, %object
	.size	pwm_clock, 4
pwm_clock:
	.word	197900
	.text
	.align	2
	.global	set_spi_32
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_spi_32, %function
set_spi_32:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	set_spi_32, .-set_spi_32
	.align	2
	.global	set_spi_16
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_spi_16, %function
set_spi_16:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	mov	r3, r1
	strh	r3, [fp, #-10]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r2, [fp, #-10]	@ movhi
	strh	r2, [r3]	@ movhi
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	set_spi_16, .-set_spi_16
	.align	2
	.global	set_spi_8
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_spi_8, %function
set_spi_8:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	mov	r3, r1
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-8]
	ldrb	r2, [fp, #-9]
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	set_spi_8, .-set_spi_8
	.align	2
	.global	waitfor
	.syntax unified
	.arm
	.fpu softvfp
	.type	waitfor, %function
waitfor:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	nop
.L5:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bhi	.L5
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	waitfor, .-waitfor
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L8
	ldr	r3, [r3]
	ldr	r1, .L8+4
	mov	r0, r3
	bl	set_spi_32
	ldr	r3, .L8+8
	ldr	r3, [r3]
	mov	r1, #2
	mov	r0, r3
	bl	set_spi_16
	ldr	r3, .L8+12
	ldr	r3, [r3]
	mov	r1, #5
	mov	r0, r3
	bl	set_spi_16
	ldr	r3, .L8+16
	ldr	r3, [r3]
	mov	r1, #10
	mov	r0, r3
	bl	set_spi_16
	ldr	r3, .L8+20
	ldr	r3, [r3]
	mov	r1, #22
	mov	r0, r3
	bl	set_spi_8
	mov	r0, #100
	bl	waitfor
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	pinmux_cfg
	.word	174720
	.word	pwm_clock
	.word	pwm_duty
	.word	pwm_period
	.word	pwm_ctrl
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
