	.file	"extr_pwm-atmel.c_atmel_pwm_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"failed to prepare PWM clock\n"
.LC1:
	.string	"failed to add PWM chip %d\n"
	.text
	.p2align 4
	.type	atmel_pwm_probe, @function
atmel_pwm_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 64
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	devm_kzalloc@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	test	rax, rax
	je	.L1
	lea	rdi, 60[rax]
	mov	rbp, rax
	call	mutex_init@PLT
	mov	rdi, r12
	call	of_device_get_match_data@PLT
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	xor	edx, edx
	mov	rdi, r12
	mov	DWORD PTR 56[rbp], eax
	mov	QWORD PTR 48[rbp], 0
	call	platform_get_resource@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	devm_ioremap_resource@PLT
	mov	DWORD PTR 40[rbp], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L10
	xor	esi, esi
	mov	rdi, r12
	call	devm_clk_get@PLT
	mov	DWORD PTR 0[rbp], eax
	mov	edi, eax
	call	IS_ERR@PLT
	mov	edi, DWORD PTR 0[rbp]
	test	rax, rax
	jne	.L11
	call	clk_prepare@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L12
	lea	rax, atmel_pwm_ops[rip]
	mov	QWORD PTR 32[rbp], r12
	lea	rdi, 8[rbp]
	mov	QWORD PTR 24[rbp], rax
	mov	eax, DWORD PTR of_pwm_xlate_with_flags[rip]
	mov	DWORD PTR 16[rbp], 4
	mov	DWORD PTR 20[rbp], eax
	movabs	rax, -4294967293
	mov	QWORD PTR 8[rbp], rax
	call	pwmchip_add@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L13
	mov	rsi, rbp
	mov	rdi, r12
	call	platform_set_drvdata@PLT
.L1:
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR 40[rbp]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edx, eax
	mov	rdi, r12
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	clk_unprepare@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	atmel_pwm_probe, .-atmel_pwm_probe
	.comm	of_pwm_xlate_with_flags,4,4
	.comm	atmel_pwm_ops,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.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-atmel.c_atmel_pwm_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to prepare PWM clock\012\000"
	.align	2
.LC1:
	.ascii	"failed to add PWM chip %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atmel_pwm_probe, %function
atmel_pwm_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L15
	push	{r4, r5, r6, lr}
	mov	r1, #44
	ldr	r2, [r3]
	mov	r6, r0
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L10
	add	r0, r4, #40
	bl	mutex_init
	mov	r0, r6
	bl	of_device_get_match_data
	mov	r2, #0
	ldr	r3, .L15+4
	str	r2, [r4, #32]
	ldr	r1, [r3]
	str	r0, [r4, #36]
	mov	r0, r6
	bl	platform_get_resource
	mov	r1, r0
	mov	r0, r6
	bl	devm_ioremap_resource
	str	r0, [r4, #28]
	bl	IS_ERR
	subs	r1, r0, #0
	bne	.L11
	mov	r0, r6
	bl	devm_clk_get
	str	r0, [r4]
	bl	IS_ERR
	cmp	r0, #0
	ldr	r0, [r4]
	bne	.L12
	bl	clk_prepare
	subs	r5, r0, #0
	bne	.L13
	mov	r3, #3
	mov	r2, #4
	mvn	r1, #0
	ldr	r0, .L15+8
	str	r3, [r4, #4]
	ldr	r0, [r0]
	ldr	r3, .L15+12
	str	r0, [r4, #16]
	str	r6, [r4, #24]
	str	r1, [r4, #8]
	str	r2, [r4, #12]
	str	r3, [r4, #20]
	add	r0, r4, r2
	bl	pwmchip_add
	subs	r5, r0, #0
	blt	.L14
	mov	r1, r4
	mov	r0, r6
	bl	platform_set_drvdata
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r0, [r4, #28]
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L10:
	ldr	r3, .L15+16
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L13:
	mov	r0, r6
	ldr	r1, .L15+20
	bl	dev_err
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L12:
	pop	{r4, r5, r6, lr}
	b	PTR_ERR
.L14:
	mov	r0, r6
	mov	r2, r5
	ldr	r1, .L15+24
	bl	dev_err
	ldr	r0, [r4]
	bl	clk_unprepare
	b	.L1
.L16:
	.align	2
.L15:
	.word	GFP_KERNEL
	.word	IORESOURCE_MEM
	.word	of_pwm_xlate_with_flags
	.word	atmel_pwm_ops
	.word	ENOMEM
	.word	.LC0
	.word	.LC1
	.size	atmel_pwm_probe, .-atmel_pwm_probe
	.comm	of_pwm_xlate_with_flags,4,4
	.comm	atmel_pwm_ops,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
