	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpio_vibrator_probe
_gpio_vibrator_probe:                   ## @gpio_vibrator_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	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_devm_input_allocate_device
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movl	%eax, 16(%r15)
	movl	%eax, %edi
	callq	_PTR_ERR_OR_ZERO
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_15
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_15
LBB0_7:
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_gpiod_get
	movl	%eax, 12(%r15)
	movl	%eax, %edi
	callq	_PTR_ERR_OR_ZERO
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_15
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_6
LBB0_10:
	movq	%r15, %rdi
	addq	$8, %rdi
	movq	_gpio_vibrator_play_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	(%r15), %rdi
	leaq	L_.str.4(%rip), %rax
	movq	%rax, (%rdi)
	movq	_BUS_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rdi)
	movq	_gpio_vibrator_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movq	%r15, %rsi
	callq	_input_set_drvdata
	movq	(%r15), %rdi
	movq	_EV_FF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FF_RUMBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_input_set_capability
	movq	(%r15), %rdi
	movq	_gpio_vibrator_play_effect@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_input_ff_create_memless
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_6
LBB0_12:
	movq	(%r15), %rdi
	callq	_input_register_device
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	%eax, %ebx
	leaq	L_.str.6(%rip), %rsi
LBB0_6:
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_err
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vcc"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.1:                               ## @.str.1
	.asciz	"Failed to request regulator: %d\n"

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

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
L_.str.3:                               ## @.str.3
	.asciz	"Failed to request main gpio: %d\n"

	.comm	_gpio_vibrator_play_work,4,2    ## @gpio_vibrator_play_work
L_.str.4:                               ## @.str.4
	.asciz	"gpio-vibrator"

	.comm	_BUS_HOST,4,2                   ## @BUS_HOST
	.comm	_gpio_vibrator_close,4,2        ## @gpio_vibrator_close
	.comm	_EV_FF,4,2                      ## @EV_FF
	.comm	_FF_RUMBLE,4,2                  ## @FF_RUMBLE
	.comm	_gpio_vibrator_play_effect,4,2  ## @gpio_vibrator_play_effect
L_.str.5:                               ## @.str.5
	.asciz	"Couldn't create FF dev: %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"Couldn't register input dev: %d\n"

	.no_dead_strip	_gpio_vibrator_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpio_vibrator_probe
_gpio_vibrator_probe:                   ; @gpio_vibrator_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	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_devm_input_allocate_device
	str	x0, [x20]
	cbz	x0, LBB0_5
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devm_regulator_get
	str	w0, [x20, #16]
	bl	_PTR_ERR_OR_ZERO
	cbz	w0, LBB0_6
; %bb.3:
	mov	x21, x0
Lloh5:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_14
; %bb.4:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_5:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_14
LBB0_6:
Lloh13:
	adrp	x8, _GPIOD_OUT_LOW@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GPIOD_OUT_LOW@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_devm_gpiod_get
	str	w0, [x20, #12]
	bl	_PTR_ERR_OR_ZERO
	cbz	w0, LBB0_9
; %bb.7:
	mov	x21, x0
Lloh18:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_14
; %bb.8:
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_9:
	add	x0, x20, #8
Lloh23:
	adrp	x8, _gpio_vibrator_play_work@GOTPAGE
Lloh24:
	ldr	x8, [x8, _gpio_vibrator_play_work@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_INIT_WORK
	ldr	x0, [x20]
Lloh26:
	adrp	x8, l_.str.4@PAGE
Lloh27:
	add	x8, x8, l_.str.4@PAGEOFF
	str	x8, [x0]
Lloh28:
	adrp	x8, _BUS_HOST@GOTPAGE
Lloh29:
	ldr	x8, [x8, _BUS_HOST@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _gpio_vibrator_close@GOTPAGE
Lloh32:
	ldr	x9, [x9, _gpio_vibrator_close@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
	mov	x1, x20
	bl	_input_set_drvdata
	ldr	x0, [x20]
Lloh34:
	adrp	x8, _EV_FF@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EV_FF@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x8, _FF_RUMBLE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _FF_RUMBLE@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	bl	_input_set_capability
	ldr	x0, [x20]
Lloh40:
	adrp	x8, _gpio_vibrator_play_effect@GOTPAGE
Lloh41:
	ldr	x8, [x8, _gpio_vibrator_play_effect@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	mov	x1, #0
	bl	_input_ff_create_memless
	cbz	w0, LBB0_11
; %bb.10:
	mov	x21, x0
Lloh43:
	adrp	x1, l_.str.5@PAGE
Lloh44:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_13
LBB0_11:
	ldr	x0, [x20]
	bl	_input_register_device
	mov	x21, x0
	cbz	w0, LBB0_15
; %bb.12:
Lloh45:
	adrp	x1, l_.str.6@PAGE
Lloh46:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_13:
	mov	x0, x19
	mov	x2, x21
	bl	_dev_err
LBB0_14:
	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
	ret
LBB0_15:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vcc"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.1:                               ; @.str.1
	.asciz	"Failed to request regulator: %d\n"

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

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
l_.str.3:                               ; @.str.3
	.asciz	"Failed to request main gpio: %d\n"

	.comm	_gpio_vibrator_play_work,4,2    ; @gpio_vibrator_play_work
l_.str.4:                               ; @.str.4
	.asciz	"gpio-vibrator"

	.comm	_BUS_HOST,4,2                   ; @BUS_HOST
	.comm	_gpio_vibrator_close,4,2        ; @gpio_vibrator_close
	.comm	_EV_FF,4,2                      ; @EV_FF
	.comm	_FF_RUMBLE,4,2                  ; @FF_RUMBLE
	.comm	_gpio_vibrator_play_effect,4,2  ; @gpio_vibrator_play_effect
l_.str.5:                               ; @.str.5
	.asciz	"Couldn't create FF dev: %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"Couldn't register input dev: %d\n"

	.no_dead_strip	_gpio_vibrator_probe
.subsections_via_symbols
