	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce_aux_transfer_raw           ## -- Begin function dce_aux_transfer_raw
	.p2align	4, 0x90
_dce_aux_transfer_raw:                  ## @dce_aux_transfer_raw
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %r13
	movl	$0, -44(%rbp)
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%r13), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r14
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_acquire
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpq	$0, 24(%r12)
	jne	LBB0_3
## %bb.4:
	movq	_AUX_TRANSACTION_TYPE_DP@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %ebx
	jmp	LBB0_8
LBB0_3:
	movq	_AUX_TRANSACTION_TYPE_I2C@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	%r12, %rdi
	callq	_i2caux_action_from_payload
	movl	%eax, -56(%rbp)
	movl	20(%r12), %eax
	movl	%eax, -60(%rbp)
	movl	(%r12), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, -72(%rbp)
	movl	16(%r12), %eax
	movl	%eax, -64(%rbp)
	movl	4(%r12), %eax
	movl	%eax, -68(%rbp)
	leaq	-72(%rbp), %rsi
	movq	%r14, %rdi
	callq	_submit_channel_request
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_get_channel_status
	movl	%eax, (%r15)
	movq	_AUX_CHANNEL_OPERATION_SUCCEEDED@GOTPCREL(%rip), %rcx
	movl	$-1, %ebx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.6:
	movl	16(%r12), %esi
	movl	4(%r12), %edx
	movq	8(%r12), %rcx
	leaq	-76(%rbp), %r8
	movq	%r14, %rdi
	callq	_read_channel_reply
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edi
	movq	_EVENT_LOG_AUX_ORIGIN_NATIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	8(%r12), %rcx
	movl	(%rcx), %edx
	movl	4(%r12), %r8d
	movl	%eax, %ecx
	callq	_EVENT_LOG_AUX_REP
	movl	-44(%rbp), %ebx
LBB0_7:
	movq	%r14, %rdi
	callq	_release_engine
LBB0_8:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUX_TRANSACTION_TYPE_I2C,4,2   ## @AUX_TRANSACTION_TYPE_I2C
	.comm	_AUX_TRANSACTION_TYPE_DP,4,2    ## @AUX_TRANSACTION_TYPE_DP
	.comm	_AUX_CHANNEL_OPERATION_SUCCEEDED,4,2 ## @AUX_CHANNEL_OPERATION_SUCCEEDED
	.comm	_EVENT_LOG_AUX_ORIGIN_NATIVE,4,2 ## @EVENT_LOG_AUX_ORIGIN_NATIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce_aux_transfer_raw           ; -- Begin function dce_aux_transfer_raw
	.p2align	2
_dce_aux_transfer_raw:                  ; @dce_aux_transfer_raw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, [x0, #8]
	str	wzr, [sp, #12]
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [x22]
	ldr	x9, [x9]
	ldr	x20, [x8, x9, lsl #3]
	mov	x0, x20
	mov	x1, x22
	bl	_acquire
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x19, #24]
Lloh0:
	adrp	x9, _AUX_TRANSACTION_TYPE_DP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AUX_TRANSACTION_TYPE_DP@GOTPAGEOFF]
Lloh2:
	adrp	x10, _AUX_TRANSACTION_TYPE_I2C@GOTPAGE
Lloh3:
	ldr	x10, [x10, _AUX_TRANSACTION_TYPE_I2C@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	str	w8, [sp, #60]
	mov	x0, x19
	bl	_i2caux_action_from_payload
	str	w0, [sp, #56]
	ldp	w8, w9, [x19]
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #1
	ldr	d0, [x19, #16]
	str	d0, [sp, #48]
	stp	w8, w9, [sp, #40]
	add	x1, sp, #40
	mov	x0, x20
	bl	_submit_channel_request
	add	x1, sp, #12
	mov	x0, x20
	bl	_get_channel_status
	str	w0, [x21]
Lloh4:
	adrp	x8, _AUX_CHANNEL_OPERATION_SUCCEEDED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AUX_CHANNEL_OPERATION_SUCCEEDED@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
	ldr	w1, [x19, #16]
	ldr	w2, [x19, #4]
	ldr	x3, [x19, #8]
	add	x4, sp, #8
	mov	x0, x20
	bl	_read_channel_reply
	mov	x3, x0
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _EVENT_LOG_AUX_ORIGIN_NATIVE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EVENT_LOG_AUX_ORIGIN_NATIVE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
	ldr	w4, [x19, #4]
	bl	_EVENT_LOG_AUX_REP
	ldr	w19, [sp, #12]
	b	LBB0_5
LBB0_3:
	mov	w19, #-1
	b	LBB0_6
LBB0_4:
	mov	w19, #-1
LBB0_5:
	mov	x0, x20
	bl	_release_engine
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AUX_TRANSACTION_TYPE_I2C,4,2   ; @AUX_TRANSACTION_TYPE_I2C
	.comm	_AUX_TRANSACTION_TYPE_DP,4,2    ; @AUX_TRANSACTION_TYPE_DP
	.comm	_AUX_CHANNEL_OPERATION_SUCCEEDED,4,2 ; @AUX_CHANNEL_OPERATION_SUCCEEDED
	.comm	_EVENT_LOG_AUX_ORIGIN_NATIVE,4,2 ; @EVENT_LOG_AUX_ORIGIN_NATIVE
.subsections_via_symbols
