	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_smbus_read_block_data      ## -- Begin function i2c_smbus_read_block_data
	.p2align	4, 0x90
_i2c_smbus_read_block_data:             ## @i2c_smbus_read_block_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movl	%esi, %r8d
	movl	8(%rdi), %eax
	movl	(%rdi), %edx
	movl	4(%rdi), %esi
	movq	_I2C_SMBUS_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_I2C_SMBUS_BLOCK_DATA@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r9d
	leaq	-16(%rbp), %rdi
	movq	%rdi, (%rsp)
	movl	%eax, %edi
	callq	_i2c_smbus_xfer
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	-16(%rbp), %rsi
	movl	(%rsi), %edx
	addq	$4, %rsi
	movq	%rbx, %rdi
	callq	_memcpy
	movq	-16(%rbp), %rax
	movl	(%rax), %eax
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_SMBUS_READ,4,2             ## @I2C_SMBUS_READ
	.comm	_I2C_SMBUS_BLOCK_DATA,4,2       ## @I2C_SMBUS_BLOCK_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_smbus_read_block_data      ; -- Begin function i2c_smbus_read_block_data
	.p2align	2
_i2c_smbus_read_block_data:             ; @i2c_smbus_read_block_data
	.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, x2
	mov	x4, x1
	ldp	w1, w8, [x0, #4]
	ldr	w2, [x0]
Lloh0:
	adrp	x9, _I2C_SMBUS_READ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I2C_SMBUS_READ@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x9]
Lloh3:
	adrp	x9, _I2C_SMBUS_BLOCK_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2C_SMBUS_BLOCK_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x9]
	add	x6, sp, #8
	mov	x0, x8
	bl	_i2c_smbus_xfer
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x1, [sp, #8]
	ldr	w2, [x1], #4
	mov	x0, x19
	bl	_memcpy
	ldr	x8, [sp, #8]
	ldr	w0, [x8]
LBB0_2:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_SMBUS_READ,4,2             ; @I2C_SMBUS_READ
	.comm	_I2C_SMBUS_BLOCK_DATA,4,2       ; @I2C_SMBUS_BLOCK_DATA
.subsections_via_symbols
