	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pwm_beeper_probe
_pwm_beeper_probe:                      ## @pwm_beeper_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_pwm_get
	movl	%eax, 24(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	movl	24(%r15), %edi
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_18
## %bb.4:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_6:
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_pwm_init_state
	movl	$0, -32(%rbp)
	movl	24(%r15), %edi
	movq	%rbx, %rsi
	callq	_pwm_apply_state
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movl	%eax, 20(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movl	20(%r15), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_18
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_5
LBB0_11:
	movq	%r15, %rdi
	addq	$16, %rdi
	movq	_pwm_beeper_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	L_.str.4(%rip), %rsi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_device_property_read_u32
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	$1000, -28(%rbp)                ## imm = 0x3E8
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	$1000, %edx                     ## imm = 0x3E8
	callq	_dev_dbg
LBB0_13:
	movl	-28(%rbp), %eax
	movl	%eax, (%r15)
	movq	%r14, %rdi
	callq	_devm_input_allocate_device
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	leaq	L_.str.7(%rip), %rcx
	movq	%rcx, (%rax)
	leaq	L_.str.8(%rip), %rcx
	movq	%rcx, 8(%rax)
	movq	_BUS_HOST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%rax)
	movabsq	$4294967327, %rcx               ## imm = 0x10000001F
	movq	%rcx, 24(%rax)
	movl	$256, 32(%rax)                  ## imm = 0x100
	movq	_EV_SND@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_SND_TONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	callq	_input_set_capability
	movq	8(%r15), %rdi
	movl	(%rbx), %esi
	movq	_SND_BELL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_input_set_capability
	movq	_pwm_beeper_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r15), %rdi
	movl	%eax, 20(%rdi)
	movq	_pwm_beeper_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	%r15, %rsi
	callq	_input_set_drvdata
	movq	8(%r15), %rdi
	callq	_input_register_device
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	movl	%eax, %ebx
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_5
LBB0_14:
	leaq	L_.str.6(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_17:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to request PWM device: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to apply initial PWM state: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"amp"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to get 'amp' regulator: %d\n"

	.comm	_pwm_beeper_work,4,2            ## @pwm_beeper_work
L_.str.4:                               ## @.str.4
	.asciz	"beeper-hz"

L_.str.5:                               ## @.str.5
	.asciz	"failed to parse 'beeper-hz' property, using default: %uHz\n"

L_.str.6:                               ## @.str.6
	.asciz	"Failed to allocate input device\n"

L_.str.7:                               ## @.str.7
	.asciz	"pwm-beeper"

L_.str.8:                               ## @.str.8
	.asciz	"pwm/input0"

	.comm	_BUS_HOST,4,2                   ## @BUS_HOST
	.comm	_EV_SND,4,2                     ## @EV_SND
	.comm	_SND_TONE,4,2                   ## @SND_TONE
	.comm	_SND_BELL,4,2                   ## @SND_BELL
	.comm	_pwm_beeper_event,4,2           ## @pwm_beeper_event
	.comm	_pwm_beeper_close,4,2           ## @pwm_beeper_close
L_.str.9:                               ## @.str.9
	.asciz	"Failed to register input device: %d\n"

	.no_dead_strip	_pwm_beeper_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function pwm_beeper_probe
lCPI0_0:
	.long	31                              ; 0x1f
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_pwm_beeper_probe:                      ; @pwm_beeper_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_17
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, #0
	bl	_devm_pwm_get
	str	w0, [x20, #24]
	bl	_IS_ERR
	mov	x8, x0
	ldr	w0, [x20, #24]
	cbz	x8, LBB0_5
; %bb.2:
	bl	_PTR_ERR
	mov	x20, x0
Lloh3:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_18
; %bb.3:
	str	x20, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_18
LBB0_5:
	add	x1, sp, #24
	bl	_pwm_init_state
	str	wzr, [sp, #24]
	ldr	w0, [x20, #24]
	add	x1, sp, #24
	bl	_pwm_apply_state
	cbz	w0, LBB0_8
; %bb.6:
	mov	x21, x0
	str	x21, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_dev_err
	mov	x20, x21
	b	LBB0_18
LBB0_8:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_devm_regulator_get
	str	w0, [x20, #20]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.9:
	ldr	w0, [x20, #20]
	bl	_PTR_ERR
	mov	x20, x0
Lloh12:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_18
; %bb.10:
	mov	x8, x20
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_11:
	add	x0, x20, #16
Lloh17:
	adrp	x8, _pwm_beeper_work@GOTPAGE
Lloh18:
	ldr	x8, [x8, _pwm_beeper_work@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #20
	mov	x0, x19
	bl	_device_property_read_u32
	cbz	w0, LBB0_13
; %bb.12:
	mov	w8, #1000
	str	w8, [sp, #20]
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w2, #1000
	bl	_dev_dbg
LBB0_13:
	ldr	w8, [sp, #20]
	str	w8, [x20]
	mov	x0, x19
	bl	_devm_input_allocate_device
	str	x0, [x20, #8]
	cbz	x0, LBB0_16
; %bb.14:
Lloh24:
	adrp	x8, l_.str.7@PAGE
Lloh25:
	add	x8, x8, l_.str.7@PAGEOFF
Lloh26:
	adrp	x9, l_.str.8@PAGE
Lloh27:
	add	x9, x9, l_.str.8@PAGEOFF
	stp	x8, x9, [x0]
Lloh28:
	adrp	x8, _BUS_HOST@GOTPAGE
Lloh29:
	ldr	x8, [x8, _BUS_HOST@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, lCPI0_0@PAGE
Lloh32:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x0, #24]
	mov	w9, #256
	stp	w9, w8, [x0, #32]
Lloh33:
	adrp	x21, _EV_SND@GOTPAGE
Lloh34:
	ldr	x21, [x21, _EV_SND@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh35:
	adrp	x8, _SND_TONE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SND_TONE@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	bl	_input_set_capability
	ldr	x0, [x20, #8]
	ldr	w1, [x21]
Lloh38:
	adrp	x8, _SND_BELL@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SND_BELL@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	bl	_input_set_capability
Lloh41:
	adrp	x8, _pwm_beeper_event@GOTPAGE
Lloh42:
	ldr	x8, [x8, _pwm_beeper_event@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	ldr	x0, [x20, #8]
Lloh44:
	adrp	x9, _pwm_beeper_close@GOTPAGE
Lloh45:
	ldr	x9, [x9, _pwm_beeper_close@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
	mov	x1, x20
	bl	_input_set_drvdata
	ldr	x0, [x20, #8]
	bl	_input_register_device
	cbz	w0, LBB0_19
; %bb.15:
	mov	x21, x0
	str	x21, [sp]
Lloh47:
	adrp	x1, l_.str.9@PAGE
Lloh48:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_7
LBB0_16:
Lloh49:
	adrp	x1, l_.str.6@PAGE
Lloh50:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_17:
Lloh51:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_19:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	w20, #0
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdr	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to request PWM device: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to apply initial PWM state: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"amp"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to get 'amp' regulator: %d\n"

	.comm	_pwm_beeper_work,4,2            ; @pwm_beeper_work
l_.str.4:                               ; @.str.4
	.asciz	"beeper-hz"

l_.str.5:                               ; @.str.5
	.asciz	"failed to parse 'beeper-hz' property, using default: %uHz\n"

l_.str.6:                               ; @.str.6
	.asciz	"Failed to allocate input device\n"

l_.str.7:                               ; @.str.7
	.asciz	"pwm-beeper"

l_.str.8:                               ; @.str.8
	.asciz	"pwm/input0"

	.comm	_BUS_HOST,4,2                   ; @BUS_HOST
	.comm	_EV_SND,4,2                     ; @EV_SND
	.comm	_SND_TONE,4,2                   ; @SND_TONE
	.comm	_SND_BELL,4,2                   ; @SND_BELL
	.comm	_pwm_beeper_event,4,2           ; @pwm_beeper_event
	.comm	_pwm_beeper_close,4,2           ; @pwm_beeper_close
l_.str.9:                               ; @.str.9
	.asciz	"Failed to register input device: %d\n"

	.no_dead_strip	_pwm_beeper_probe
.subsections_via_symbols
