	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_default_probe
_i2c_default_probe:                     ## @i2c_default_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %eax
	andl	$-8, %eax
	cmpl	$48, %eax
	je	LBB0_5
## %bb.1:
	movl	%ebx, %eax
	andl	$-16, %eax
	cmpl	$80, %eax
	je	LBB0_5
## %bb.2:
	movq	_I2C_FUNC_SMBUS_QUICK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_i2c_check_functionality
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_I2C_SMBUS_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_I2C_SMBUS_QUICK@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	$0, (%rsp)
	jmp	LBB0_4
LBB0_5:
	movq	_I2C_FUNC_SMBUS_READ_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_i2c_check_functionality
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_I2C_SMBUS_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-24(%rbp), %rax
	movq	%rax, (%rsp)
LBB0_4:
	movzwl	%bx, %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_i2c_smbus_xfer
	jmp	LBB0_8
LBB0_7:
	addq	$4, %r14
	movzwl	%bx, %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_warn
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	notl	%eax
	shrl	$31, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_QUICK,4,2       ## @I2C_FUNC_SMBUS_QUICK
	.comm	_I2C_SMBUS_WRITE,4,2            ## @I2C_SMBUS_WRITE
	.comm	_I2C_SMBUS_QUICK,4,2            ## @I2C_SMBUS_QUICK
	.comm	_I2C_FUNC_SMBUS_READ_BYTE,4,2   ## @I2C_FUNC_SMBUS_READ_BYTE
	.comm	_I2C_SMBUS_READ,4,2             ## @I2C_SMBUS_READ
	.comm	_I2C_SMBUS_BYTE,4,2             ## @I2C_SMBUS_BYTE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No suitable probing method supported for address 0x%02X\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_I2C_CLASS_HWMON,4,2            ## @I2C_CLASS_HWMON
	.comm	_I2C_FUNC_SMBUS_READ_BYTE_DATA,4,2 ## @I2C_FUNC_SMBUS_READ_BYTE_DATA
	.comm	_I2C_SMBUS_BYTE_DATA,4,2        ## @I2C_SMBUS_BYTE_DATA
	.no_dead_strip	_i2c_default_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_default_probe
_i2c_default_probe:                     ; @i2c_default_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	and	w8, w1, #0xfff8
	cmp	w8, #48
	b.eq	LBB0_4
; %bb.1:
	and	w8, w19, #0xfff0
	cmp	w8, #80
	b.eq	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_QUICK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_QUICK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i2c_check_functionality
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _I2C_SMBUS_WRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I2C_SMBUS_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _I2C_SMBUS_QUICK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I2C_SMBUS_QUICK@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	w4, #0
	mov	x6, #0
	bl	_i2c_smbus_xfer
	b	LBB0_7
LBB0_4:
Lloh9:
	adrp	x8, _I2C_FUNC_SMBUS_READ_BYTE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_READ_BYTE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i2c_check_functionality
	cbz	x0, LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _I2C_SMBUS_READ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _I2C_SMBUS_READ@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
Lloh15:
	adrp	x8, _I2C_SMBUS_BYTE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _I2C_SMBUS_BYTE@GOTPAGEOFF]
Lloh17:
	ldr	w5, [x8]
	add	x6, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	w4, #0
	bl	_i2c_smbus_xfer
	b	LBB0_7
LBB0_6:
	add	x0, x20, #4
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dev_warn
Lloh20:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	mvn	w8, w0
	lsr	w0, w8, #31
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_QUICK,4,2       ; @I2C_FUNC_SMBUS_QUICK
	.comm	_I2C_SMBUS_WRITE,4,2            ; @I2C_SMBUS_WRITE
	.comm	_I2C_SMBUS_QUICK,4,2            ; @I2C_SMBUS_QUICK
	.comm	_I2C_FUNC_SMBUS_READ_BYTE,4,2   ; @I2C_FUNC_SMBUS_READ_BYTE
	.comm	_I2C_SMBUS_READ,4,2             ; @I2C_SMBUS_READ
	.comm	_I2C_SMBUS_BYTE,4,2             ; @I2C_SMBUS_BYTE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No suitable probing method supported for address 0x%02X\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_I2C_CLASS_HWMON,4,2            ; @I2C_CLASS_HWMON
	.comm	_I2C_FUNC_SMBUS_READ_BYTE_DATA,4,2 ; @I2C_FUNC_SMBUS_READ_BYTE_DATA
	.comm	_I2C_SMBUS_BYTE_DATA,4,2        ; @I2C_SMBUS_BYTE_DATA
	.no_dead_strip	_i2c_default_probe
.subsections_via_symbols
