	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpio_beeper_probe
_gpio_beeper_probe:                     ## @gpio_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	4(%rdi), %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r12
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_devm_gpiod_get
	movl	%eax, 4(%r12)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movl	4(%r12), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_devm_input_allocate_device
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r15
	movq	_gpio_beeper_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_INIT_WORK
	movl	(%r14), %eax
	movl	%eax, 24(%r15)
	movq	_BUS_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 8(%r15)
	movl	$256, 16(%r15)                  ## imm = 0x100
	movq	_gpio_beeper_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	_gpio_beeper_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_EV_SND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SND_BELL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_input_set_capability
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_input_set_drvdata
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_register_device          ## TAILCALL
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
	.comm	_gpio_beeper_work,4,2           ## @gpio_beeper_work
	.comm	_BUS_HOST,4,2                   ## @BUS_HOST
	.comm	_gpio_beeper_close,4,2          ## @gpio_beeper_close
	.comm	_gpio_beeper_event,4,2          ## @gpio_beeper_event
	.comm	_EV_SND,4,2                     ## @EV_SND
	.comm	_SND_BELL,4,2                   ## @SND_BELL
	.no_dead_strip	_gpio_beeper_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpio_beeper_probe
_gpio_beeper_probe:                     ; @gpio_beeper_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x0
	add	x21, x0, #4
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #8
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _GPIOD_OUT_LOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPIOD_OUT_LOW@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, #0
	bl	_devm_gpiod_get
	str	w0, [x19, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_3:
	mov	x0, x21
	bl	_devm_input_allocate_device
	cbz	x0, LBB0_5
; %bb.4:
	mov	x21, x0
Lloh6:
	adrp	x8, _gpio_beeper_work@GOTPAGE
Lloh7:
	ldr	x8, [x8, _gpio_beeper_work@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_INIT_WORK
	ldr	w8, [x20]
	str	w8, [x21, #24]
Lloh9:
	adrp	x8, _BUS_HOST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BUS_HOST@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	movi.2s	v0, #1
	str	d0, [x21, #8]
	mov	w9, #256
	stp	w9, w8, [x21, #16]
Lloh12:
	adrp	x8, _gpio_beeper_close@GOTPAGE
Lloh13:
	ldr	x8, [x8, _gpio_beeper_close@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _gpio_beeper_event@GOTPAGE
Lloh16:
	ldr	x9, [x9, _gpio_beeper_event@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x21]
Lloh18:
	adrp	x8, _EV_SND@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EV_SND@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _SND_BELL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SND_BELL@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_input_set_capability
	mov	x0, x21
	mov	x1, x19
	bl	_input_set_drvdata
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_input_register_device
LBB0_5:
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
	.comm	_gpio_beeper_work,4,2           ; @gpio_beeper_work
	.comm	_BUS_HOST,4,2                   ; @BUS_HOST
	.comm	_gpio_beeper_close,4,2          ; @gpio_beeper_close
	.comm	_gpio_beeper_event,4,2          ; @gpio_beeper_event
	.comm	_EV_SND,4,2                     ; @EV_SND
	.comm	_SND_BELL,4,2                   ; @SND_BELL
	.no_dead_strip	_gpio_beeper_probe
.subsections_via_symbols
