	.file	"extr_pwm-meson.c_meson_pwm_request.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"failed to set parent %s for %s: %d\n"
	.align 8
.LC1:
	.string	"failed to enable clock %s: %d\n"
	.text
	.p2align 4
	.type	meson_pwm_request, @function
meson_pwm_request:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	to_meson_pwm@PLT
	mov	rdi, rbp
	mov	r15, QWORD PTR [rbx]
	mov	r14, rax
	call	pwm_get_chip_data@PLT
	test	rax, rax
	je	.L12
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	r13, QWORD PTR 0[rbp]
	sal	r13, 4
	add	r13, QWORD PTR [r14]
	mov	rsi, QWORD PTR 8[r13]
	mov	rdi, QWORD PTR 0[r13]
	test	rsi, rsi
	je	.L3
	call	clk_set_parent@PLT
	mov	rdi, QWORD PTR 0[r13]
	mov	r12d, eax
	test	eax, eax
	js	.L4
.L3:
	call	clk_prepare_enable@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L13
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, r13
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	pwm_set_chip_data@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, QWORD PTR 0[r13]
	call	__clk_get_name@PLT
	mov	ecx, r12d
	lea	rsi, .LC1[rip]
	mov	rdi, r15
	mov	edx, eax
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	call	__clk_get_name@PLT
	mov	rdi, QWORD PTR 8[r13]
	mov	r14d, eax
	call	__clk_get_name@PLT
	mov	r8d, r12d
	mov	ecx, r14d
	mov	rdi, r15
	mov	edx, eax
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	meson_pwm_request, .-meson_pwm_request
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pwm-meson.c_meson_pwm_request.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to set parent %s for %s: %d\012\000"
	.align	2
.LC1:
	.ascii	"failed to enable clock %s: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	meson_pwm_request, %function
meson_pwm_request:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #12
	mov	r4, r1
	mov	r5, r0
	bl	to_meson_pwm
	mov	r3, r0
	mov	r0, r4
	ldr	r6, [r5]
	mov	r5, r3
	bl	pwm_get_chip_data
	cmp	r0, #0
	movne	r5, #0
	beq	.L12
.L1:
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L12:
	ldr	r8, [r5]
	ldr	r9, [r4]
	add	r7, r8, r9, lsl #3
	ldr	r1, [r7, #4]
	ldr	r0, [r8, r9, lsl #3]
	cmp	r1, #0
	beq	.L3
	bl	clk_set_parent
	subs	r5, r0, #0
	blt	.L4
	ldr	r0, [r8, r9, lsl #3]
.L3:
	bl	clk_prepare_enable
	subs	r5, r0, #0
	blt	.L13
	mov	r1, r7
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	pwm_set_chip_data
.L13:
	ldr	r0, [r8, r9, lsl #3]
	bl	__clk_get_name
	mov	r3, r5
	mov	r2, r0
	ldr	r1, .L14
	mov	r0, r6
	bl	dev_err
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L4:
	ldr	r0, [r7, #4]
	bl	__clk_get_name
	mov	r4, r0
	ldr	r0, [r8, r9, lsl #3]
	bl	__clk_get_name
	mov	r2, r4
	mov	r3, r0
	ldr	r1, .L14+4
	mov	r0, r6
	str	r5, [sp]
	bl	dev_err
	b	.L1
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	.LC0
	.size	meson_pwm_request, .-meson_pwm_request
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
