	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dfx_rcv_init
_dfx_rcv_init:                          ## @dfx_rcv_init
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rdi), %r8
	testl	%esi, %esi
	je	LBB0_7
## %bb.1:
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.2:
	movq	_PI_RCV_DATA_K_NUM_ENTRIES@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_PI_RCV_DESCR_M_SOP@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_PI_RCV_DATA_K_SIZE_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_PI_ALIGN_K_RCV_DATA_BUFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_PI_RCV_DESCR_V_SEG_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movslq	%r13d, %r14
	movl	%r8d, %r15d
	xorl	%r9d, %r9d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r9
	cmpq	%r15, %r9
	je	LBB0_7
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	cmpq	%r14, %r9
	jge	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%esi, %eax
	cltd
	idivl	-44(%rbp)                       ## 4-byte Folded Reload
	shll	%cl, %eax
	movslq	%eax, %r11
	orq	-64(%rbp), %r11                 ## 8-byte Folded Reload
	movq	%r9, %r12
	imulq	%rsi, %r12
	movq	40(%rdi), %rbx
	addq	%r12, %rbx
	movl	%r9d, %esi
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	48(%rdi), %r10
	movq	(%r10), %rax
	movslq	%esi, %rsi
	movq	%rsi, %rdx
	shlq	$4, %rdx
	movq	%r11, 8(%rax,%rdx)
	movq	%rbx, (%rax,%rdx)
	movq	8(%rdi), %rax
	addq	%r12, %rax
	movq	(%rdi), %rdx
	movq	%rax, (%rdx,%rsi,8)
	addl	%r8d, %esi
	cmpl	%r13d, %esi
	jl	LBB0_5
	jmp	LBB0_6
LBB0_7:
	movq	%r8, 24(%rdi)
	movq	_PI_PDQ_K_REG_TYPE_2_PROD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rdi), %edx
	callq	_dfx_port_write_long
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PI_RCV_DATA_K_NUM_ENTRIES,8,3  ## @PI_RCV_DATA_K_NUM_ENTRIES
	.comm	_PI_RCV_DESCR_M_SOP,4,2         ## @PI_RCV_DESCR_M_SOP
	.comm	_PI_RCV_DATA_K_SIZE_MAX,4,2     ## @PI_RCV_DATA_K_SIZE_MAX
	.comm	_PI_ALIGN_K_RCV_DATA_BUFF,4,2   ## @PI_ALIGN_K_RCV_DATA_BUFF
	.comm	_PI_RCV_DESCR_V_SEG_LEN,4,2     ## @PI_RCV_DESCR_V_SEG_LEN
	.comm	_PI_PDQ_K_REG_TYPE_2_PROD,4,2   ## @PI_PDQ_K_REG_TYPE_2_PROD
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.comm	_NEW_SKB_SIZE,4,2               ## @NEW_SKB_SIZE
	.no_dead_strip	_dfx_rcv_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dfx_rcv_init
_dfx_rcv_init:                          ; @dfx_rcv_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0, #32]
	cbz	w1, LBB0_7
; %bb.1:
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x9, #0
Lloh0:
	adrp	x10, _PI_RCV_DATA_K_NUM_ENTRIES@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PI_RCV_DATA_K_NUM_ENTRIES@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _PI_RCV_DESCR_M_SOP@GOTPAGE
Lloh4:
	ldr	x11, [x11, _PI_RCV_DESCR_M_SOP@GOTPAGEOFF]
Lloh5:
	ldrsw	x11, [x11]
Lloh6:
	adrp	x12, _PI_RCV_DATA_K_SIZE_MAX@GOTPAGE
Lloh7:
	ldr	x12, [x12, _PI_RCV_DATA_K_SIZE_MAX@GOTPAGEOFF]
Lloh8:
	ldrsw	x12, [x12]
Lloh9:
	adrp	x13, _PI_ALIGN_K_RCV_DATA_BUFF@GOTPAGE
Lloh10:
	ldr	x13, [x13, _PI_ALIGN_K_RCV_DATA_BUFF@GOTPAGEOFF]
Lloh11:
	ldr	w13, [x13]
Lloh12:
	adrp	x14, _PI_RCV_DESCR_V_SEG_LEN@GOTPAGE
Lloh13:
	ldr	x14, [x14, _PI_RCV_DESCR_V_SEG_LEN@GOTPAGEOFF]
Lloh14:
	ldr	w14, [x14]
	sxtw	x15, w10
	and	x16, x8, #0xffffffff
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x9, x16
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	x9, x15
	b.ge	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sdiv	w17, w12, w13
	lsl	w17, w17, w14
	sxtw	x17, w17
	orr	x17, x17, x11
	ldr	x2, [x0, #40]
	mul	x1, x9, x12
	add	x2, x2, x1
	mov	x3, x9
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x4, [x0, #48]
	ldr	x4, [x4]
	add	x4, x4, w3, sxtw #4
	stp	x2, x17, [x4]
	ldp	x5, x4, [x0]
	add	x4, x4, x1
	str	x4, [x5, w3, sxtw #3]
	add	w3, w3, w8
	cmp	w3, w10
	b.lt	LBB0_6
	b	LBB0_3
LBB0_7:
	str	x8, [x0, #24]
Lloh15:
	adrp	x8, _PI_PDQ_K_REG_TYPE_2_PROD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PI_PDQ_K_REG_TYPE_2_PROD@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x0, #16]
	bl	_dfx_port_write_long
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_PI_RCV_DATA_K_NUM_ENTRIES,8,3  ; @PI_RCV_DATA_K_NUM_ENTRIES
	.comm	_PI_RCV_DESCR_M_SOP,4,2         ; @PI_RCV_DESCR_M_SOP
	.comm	_PI_RCV_DATA_K_SIZE_MAX,4,2     ; @PI_RCV_DATA_K_SIZE_MAX
	.comm	_PI_ALIGN_K_RCV_DATA_BUFF,4,2   ; @PI_ALIGN_K_RCV_DATA_BUFF
	.comm	_PI_RCV_DESCR_V_SEG_LEN,4,2     ; @PI_RCV_DESCR_V_SEG_LEN
	.comm	_PI_PDQ_K_REG_TYPE_2_PROD,4,2   ; @PI_PDQ_K_REG_TYPE_2_PROD
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.comm	_NEW_SKB_SIZE,4,2               ; @NEW_SKB_SIZE
	.no_dead_strip	_dfx_rcv_init
.subsections_via_symbols
