	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aux_xfer
_aux_xfer:                              ## @aux_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
	movq	(%rdi), %r15
	movq	(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	*%rax
LBB0_4:
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.6:
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	decl	%ebx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	(%r12), %r14d
	movq	8(%r12), %r13
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%r14d, %r14d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	cmpl	$16, %r14d
	movl	$16, %ebx
	cmovll	%r14d, %ebx
	movq	_I2C_M_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	andl	16(%r12), %eax
	setne	%sil
	leal	4(%rsi), %eax
	cmpl	$17, %r14d
	cmovgel	%eax, %esi
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	cmovnel	%eax, %esi
	movq	(%r15), %rax
	movl	20(%r12), %edx
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r13, %rcx
	movl	%ebx, %r8d
	callq	*(%rax)
	subl	%ebx, %r14d
	movslq	%ebx, %rcx
	leaq	(%r13,%rcx,4), %r13
	testl	%eax, %eax
	jns	LBB0_8
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$24, %r12
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.11:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_12
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
LBB0_5:
	xorl	%eax, %eax
LBB0_12:
	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_M_RD,4,2                   ## @I2C_M_RD
	.no_dead_strip	_aux_xfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aux_xfer
_aux_xfer:                              ; @aux_xfer
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x21, [x0]
	ldr	x8, [x21]
	ldr	x9, [x8]
	cbz	x9, LBB0_9
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x21
	blr	x8
LBB0_3:
	cbz	w19, LBB0_11
; %bb.4:
	mov	w24, #16
Lloh0:
	adrp	x25, _I2C_M_RD@GOTPAGE
Lloh1:
	ldr	x25, [x25, _I2C_M_RD@GOTPAGEOFF]
	mov	x26, x19
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	sub	w26, w26, #1
	ldr	w27, [x20]
	ldr	x22, [x20, #8]
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	w27, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	cmp	w27, #16
	csel	w23, w27, w24, lt
	ldr	w8, [x25]
	ldp	w9, w2, [x20, #16]
	tst	w8, w9
	cset	w8, ne
	cmp	w27, #16
	ccmp	w26, #0, #0, le
	orr	w9, w8, #0x4
	csel	w1, w9, w8, ne
	ldr	x8, [x21]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x3, x22
	mov	x4, x23
	blr	x8
	add	x22, x22, w23, sxtw #2
	sub	w27, w27, w23
	tbz	w0, #31, LBB0_6
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #24
	cbnz	w26, LBB0_5
	b	LBB0_11
LBB0_9:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_11
LBB0_10:
	mov	x19, x0
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.no_dead_strip	_aux_xfer
.subsections_via_symbols
