	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smbalert_probe
_smbalert_probe:                        ## @smbalert_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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_dev_get_platdata
	movq	%rax, %rbx
	movq	8(%r12), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %ebx
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_4:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_of_irq_get_byname
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_8
LBB0_5:
	movq	%r15, %rdi
	addq	$8, %rdi
	movq	_smbalert_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	%r12, (%r15)
	testl	%ebx, %ebx
	jle	LBB0_7
## %bb.6:
	movq	_smbus_alert@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rax), %r8d
	movq	%r15, (%rsp)
	leaq	L_.str(%rip), %r9
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
LBB0_7:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_clientdata
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"smbus_alert"

	.comm	_smbalert_work,4,2              ## @smbalert_work
	.comm	_smbus_alert,4,2                ## @smbus_alert
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.1:                               ## @.str.1
	.asciz	"supports SMBALERT#\n"

	.no_dead_strip	_smbalert_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smbalert_probe
_smbalert_probe:                        ; @smbalert_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
	bl	_dev_get_platdata
	mov	x22, x0
	ldr	x20, [x19, #8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	cbz	x22, LBB0_4
; %bb.2:
	ldr	w22, [x22]
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_8
LBB0_4:
	ldr	w0, [x20]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_irq_get_byname
	mov	x22, x0
	cmp	w0, #1
	b.lt	LBB0_8
LBB0_5:
	add	x0, x21, #8
Lloh8:
	adrp	x8, _smbalert_work@GOTPAGE
Lloh9:
	ldr	x8, [x8, _smbalert_work@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_INIT_WORK
	str	x19, [x21]
	cmp	w22, #1
	b.lt	LBB0_7
; %bb.6:
Lloh11:
	adrp	x8, _smbus_alert@GOTPAGE
Lloh12:
	ldr	x8, [x8, _smbus_alert@GOTPAGEOFF]
Lloh13:
	adrp	x9, _IRQF_SHARED@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IRQF_SHARED@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
Lloh16:
	ldr	w8, [x9]
Lloh17:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w4, w9, w8
Lloh20:
	adrp	x5, l_.str@PAGE
Lloh21:
	add	x5, x5, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	mov	x2, #0
	mov	x6, x21
	bl	_devm_request_threaded_irq
	mov	x22, x0
	cbnz	w0, LBB0_8
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	bl	_i2c_set_clientdata
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	mov	w22, #0
LBB0_8:
	mov	x0, x22
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.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	"smbus_alert"

	.comm	_smbalert_work,4,2              ; @smbalert_work
	.comm	_smbus_alert,4,2                ; @smbus_alert
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.1:                               ; @.str.1
	.asciz	"supports SMBALERT#\n"

	.no_dead_strip	_smbalert_probe
.subsections_via_symbols
