	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltc2952_poweroff_probe
_ltc2952_poweroff_probe:                ## @ltc2952_poweroff_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, %rbx
	movq	_pm_power_off@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	_EBUSY@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r14
	movq	%rbx, 8(%rax)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	%rbx, %rdi
	callq	_ltc2952_poweroff_init
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_ltc2952_data@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
	movq	_ltc2952_poweroff_kill@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_ltc2952_poweroff_notify_panic@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_panic_notifier_list@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_atomic_notifier_chain_register
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_info
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_pm_power_off,8,3               ## @pm_power_off
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pm_power_off already registered"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ltc2952_data,8,3               ## @ltc2952_data
	.comm	_ltc2952_poweroff_kill,8,3      ## @ltc2952_poweroff_kill
	.comm	_ltc2952_poweroff_notify_panic,4,2 ## @ltc2952_poweroff_notify_panic
	.comm	_panic_notifier_list,4,2        ## @panic_notifier_list
L_.str.1:                               ## @.str.1
	.asciz	"probe successful\n"

	.no_dead_strip	_ltc2952_poweroff_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ltc2952_poweroff_probe
_ltc2952_poweroff_probe:                ; @ltc2952_poweroff_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	x21, _pm_power_off@GOTPAGE
Lloh1:
	ldr	x21, [x21, _pm_power_off@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh4:
	adrp	x8, _EBUSY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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_4:
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.5:
	mov	x20, x0
	str	x19, [x0, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_ltc2952_poweroff_init
	cbnz	w0, LBB0_3
; %bb.6:
Lloh9:
	adrp	x8, _ltc2952_data@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ltc2952_data@GOTPAGEOFF]
Lloh11:
	str	x20, [x8]
Lloh12:
	adrp	x8, _ltc2952_poweroff_kill@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ltc2952_poweroff_kill@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x21]
Lloh15:
	adrp	x8, _ltc2952_poweroff_notify_panic@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ltc2952_poweroff_notify_panic@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh18:
	adrp	x0, _panic_notifier_list@GOTPAGE
Lloh19:
	ldr	x0, [x0, _panic_notifier_list@GOTPAGEOFF]
	mov	x1, x20
	bl	_atomic_notifier_chain_register
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w0, #0
	b	LBB0_3
LBB0_7:
Lloh22:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_pm_power_off,8,3               ; @pm_power_off
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pm_power_off already registered"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ltc2952_data,8,3               ; @ltc2952_data
	.comm	_ltc2952_poweroff_kill,8,3      ; @ltc2952_poweroff_kill
	.comm	_ltc2952_poweroff_notify_panic,4,2 ; @ltc2952_poweroff_notify_panic
	.comm	_panic_notifier_list,4,2        ; @panic_notifier_list
l_.str.1:                               ; @.str.1
	.asciz	"probe successful\n"

	.no_dead_strip	_ltc2952_poweroff_probe
.subsections_via_symbols
