	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stu300_xfer
_stu300_xfer:                           ## @stu300_xfer
	.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
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_i2c_get_adapdata
	movl	%r14d, (%rax)
	testl	%r14d, %r14d
	jle	LBB0_6
## %bb.1:
	movq	%rax, %r12
	movl	%r14d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	decl	%r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, 4(%r12)
	xorl	%edx, %edx
	cmpq	%r13, %r14
	sete	%dl
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_stu300_xfer_msg
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	addq	$4, %rbx
	cmpq	%r13, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_3
## %bb.5:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
                                        ## kill: def $r14d killed $r14d killed $r14 def $r14
	jmp	LBB0_6
LBB0_4:
	movl	%eax, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stu300_xfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stu300_xfer
_stu300_xfer:                           ; @stu300_xfer
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	bl	_i2c_get_adapdata
	str	w22, [x0]
	subs	w23, w22, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x21, x0
	mov	x25, #0
	mov	w24, w22
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	w25, [x21, #4]
	cmp	x23, x25
	cset	w2, eq
	mov	x0, x20
	mov	x1, x19
	bl	_stu300_xfer_msg
	cbnz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, #1
	add	x19, x19, #4
	cmp	x24, x25
	b.ne	LBB0_2
; %bb.4:
	mov	x22, x24
	b	LBB0_6
LBB0_5:
	mov	x22, x0
LBB0_6:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stu300_xfer
.subsections_via_symbols
