	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sync_it_packet_for_cpu
_sync_it_packet_for_cpu:                ## @sync_it_packet_for_cpu
	.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	%rsi, %r12
	movq	%rdi, %r15
	movl	(%rsi), %ebx
	movq	_DESCRIPTOR_BRANCH_ALWAYS@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_cpu_to_le16
	testl	%ebx, %eax
	jne	LBB0_6
## %bb.1:
	leaq	24(%r12), %r14
	movl	32(%r12), %edi
	callq	_le32_to_cpu
	movq	_PAGE_MASK@GOTPCREL(%rip), %rcx
	xorl	(%r15), %eax
	testl	%eax, (%rcx)
	je	LBB0_2
LBB0_4:
	addq	$8, %r14
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_le32_to_cpu
	movq	8(%r15), %rcx
	movq	%r13, %r15
	movl	(%rcx), %r13d
	movq	_PAGE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%ebx, %r12d
	andl	%eax, %r12d
	notl	%ebx
	andl	%eax, %ebx
	movl	-4(%r14), %edi
	callq	_le16_to_cpu
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	%r13d, %edi
	movq	%r15, %r13
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_dma_sync_single_range_for_cpu
	movl	-8(%r14), %ebx
	movl	(%r13), %edi
	callq	_cpu_to_le16
	addq	$12, %r14
	testl	%ebx, %eax
	je	LBB0_5
	jmp	LBB0_6
LBB0_2:
	movl	(%r14), %ebx
	movl	(%r13), %edi
	callq	_cpu_to_le16
	testl	%ebx, %eax
	je	LBB0_3
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	addq	$36, %r12
	movq	%r12, %r14
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_DESCRIPTOR_BRANCH_ALWAYS,4,2   ## @DESCRIPTOR_BRANCH_ALWAYS
	.comm	_PAGE_MASK,4,2                  ## @PAGE_MASK
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.no_dead_strip	_sync_it_packet_for_cpu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sync_it_packet_for_cpu
_sync_it_packet_for_cpu:                ; @sync_it_packet_for_cpu
	.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	x20, x1
	mov	x19, x0
	ldr	w21, [x1]
Lloh0:
	adrp	x23, _DESCRIPTOR_BRANCH_ALWAYS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DESCRIPTOR_BRANCH_ALWAYS@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_cpu_to_le16
	tst	w0, w21
	b.ne	LBB0_5
; %bb.1:
	add	x21, x20, #24
	ldr	w0, [x20, #32]
	bl	_le32_to_cpu
Lloh2:
	adrp	x24, _PAGE_MASK@GOTPAGE
Lloh3:
	ldr	x24, [x24, _PAGE_MASK@GOTPAGEOFF]
	ldr	w8, [x24]
	ldr	w9, [x19]
	eor	w9, w9, w0
	tst	w9, w8
	b.eq	LBB0_4
LBB0_2:
	add	x25, x21, #8
Lloh4:
	adrp	x26, _DMA_TO_DEVICE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _DMA_TO_DEVICE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25]
	bl	_le32_to_cpu
	ldr	x8, [x19, #8]
	ldr	w20, [x8]
	ldr	w8, [x24]
	and	w21, w8, w0
	bic	w22, w0, w8
	ldur	w0, [x25, #-4]
	bl	_le16_to_cpu
	mov	x3, x0
	ldr	w4, [x26]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_dma_sync_single_range_for_cpu
	ldur	w20, [x25, #-8]
	ldr	w0, [x23]
	bl	_cpu_to_le16
	add	x25, x25, #12
	tst	w0, w20
	b.eq	LBB0_3
	b	LBB0_5
LBB0_4:
	ldr	w21, [x21]
	ldr	w0, [x23]
	bl	_cpu_to_le16
	tst	w0, w21
	b.eq	LBB0_6
LBB0_5:
	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
LBB0_6:
	add	x21, x20, #36
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DESCRIPTOR_BRANCH_ALWAYS,4,2   ; @DESCRIPTOR_BRANCH_ALWAYS
	.comm	_PAGE_MASK,4,2                  ; @PAGE_MASK
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.no_dead_strip	_sync_it_packet_for_cpu
.subsections_via_symbols
