	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_device_probe
_i2c_device_probe:                      ## @i2c_device_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_i2c_verify_client
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r15
	movl	(%rbx), %edi
	callq	_to_i2c_driver
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%rax, %r12
	cmpl	$0, 8(%rax)
	je	LBB0_3
## %bb.4:
	movq	%r12, 8(%r15)
	movq	%r15, %r13
	addq	$16, %r13
	movq	%r13, %rdi
	callq	_device_can_wakeup
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_I2C_CLIENT_WAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	(%r15), %esi
	movq	%r13, %rdi
	callq	_device_init_wakeup
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_dbg
	movq	(%r12), %rbx
	movl	8(%r12), %edi
	movq	%r15, %rsi
	callq	_i2c_match_id
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	*%rbx
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	$0, 8(%r15)
	movl	%eax, %r14d
	jmp	LBB0_8
LBB0_3:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_I2C_CLIENT_WAKE,4,2            ## @I2C_CLIENT_WAKE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"probe\n"

	.no_dead_strip	_i2c_device_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_device_probe
_i2c_device_probe:                      ; @i2c_device_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
	bl	_i2c_verify_client
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	w0, [x20]
	bl	_to_i2c_driver
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.2:
	mov	x21, x0
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_7
; %bb.3:
	str	x21, [x19, #8]
	add	x22, x19, #16
	mov	x0, x22
	bl	_device_can_wakeup
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _I2C_CLIENT_WAKE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I2C_CLIENT_WAKE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w1, w9, w8
	mov	x0, x22
	bl	_device_init_wakeup
LBB0_5:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldr	x20, [x21]
	ldr	w0, [x21, #8]
	mov	x1, x19
	bl	_i2c_match_id
	mov	x1, x0
	mov	x0, x19
	blr	x20
	cbz	w0, LBB0_8
; %bb.6:
	str	xzr, [x19, #8]
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_I2C_CLIENT_WAKE,4,2            ; @I2C_CLIENT_WAKE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"probe\n"

	.no_dead_strip	_i2c_device_probe
.subsections_via_symbols
