	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adv_smbus_read_byte_data_check
_adv_smbus_read_byte_data_check:        ## @adv_smbus_read_byte_data_check
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	movl	(%rbx), %esi
	movl	4(%rbx), %edx
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_I2C_SMBUS_BYTE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-32(%rbp), %rax
	movq	%rax, (%rsp)
	movl	%r14d, %r8d
	callq	_i2c_smbus_xfer
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_v4l_err
LBB0_4:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_1:
	movl	-32(%rbp), %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_SMBUS_READ,4,2             ## @I2C_SMBUS_READ
	.comm	_I2C_SMBUS_BYTE_DATA,4,2        ## @I2C_SMBUS_BYTE_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error reading %02x, %02x\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_adv_smbus_read_byte_data_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adv_smbus_read_byte_data_check
_adv_smbus_read_byte_data_check:        ; @adv_smbus_read_byte_data_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #8]
	ldp	w1, w2, [x20]
Lloh0:
	adrp	x8, _I2C_SMBUS_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_SMBUS_READ@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _I2C_SMBUS_BYTE_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I2C_SMBUS_BYTE_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	add	x6, sp, #8
	mov	x4, x19
	bl	_i2c_smbus_xfer
	cbz	w0, LBB0_4
; %bb.1:
	cbz	w21, LBB0_3
; %bb.2:
	ldr	w2, [x20]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_v4l_err
LBB0_3:
Lloh8:
	adrp	x8, _EIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	ldr	w0, [sp, #8]
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_SMBUS_READ,4,2             ; @I2C_SMBUS_READ
	.comm	_I2C_SMBUS_BYTE_DATA,4,2        ; @I2C_SMBUS_BYTE_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error reading %02x, %02x\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_adv_smbus_read_byte_data_check
.subsections_via_symbols
