	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_farch_rx_init              ## -- Begin function ef4_farch_rx_init
	.p2align	4, 0x90
_ef4_farch_rx_init:                     ## @ef4_farch_rx_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	%r14, %rdi
	callq	_ef4_nic_rev
	movq	_EF4_REV_FALCON_B0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$1, %edx
	cmpq	%rcx, %rax
	jl	LBB0_2
## %bb.1:
	xorl	%edx, %edx
	cmpq	$0, 16(%r14)
	setne	%dl
LBB0_2:
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	cmpq	%rcx, %rax
	setge	%r15b
	movq	_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	8(%r14), %r13d
	movq	%rbx, %rdi
	callq	_ef4_rx_queue_index
	movq	(%rbx), %rcx
	movq	8(%rbx), %r9
	leaq	(%r9,%rcx), %r10
	decq	%r10
	subq	$8, %rsp
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%eax, %r8d
	pushq	%r10
	callq	_netif_dbg
	addq	$16, %rsp
	movq	$0, 16(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ef4_init_special_buffer
	movq	_FRF_AZ_RX_ISCSI_DDIG_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_FRF_AZ_RX_ISCSI_HDIG_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_FRF_AZ_RX_DESCQ_BUF_BASE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%rbx), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_FRF_AZ_RX_DESCQ_EVQ_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ef4_rx_queue_channel
	movl	(%rax), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_FRF_AZ_RX_DESCQ_OWNER_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_FRF_AZ_RX_DESCQ_LABEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ef4_rx_queue_index
	movl	%eax, %r12d
	movq	_FRF_AZ_RX_DESCQ_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	(%rbx), %rdi
	callq	___ffs
                                        ## kill: def $eax killed $eax def $rax
	movq	_FRF_AZ_RX_DESCQ_TYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_FRF_AZ_RX_DESCQ_JUMBO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r11d
	movq	_FRF_AZ_RX_DESCQ_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	subq	$8, %rsp
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	$1
	pushq	%rdi
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	%r11
	pushq	$0
	pushq	%r10
	pushq	%rax
	pushq	%r13
	pushq	%r12
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	$0
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	callq	_EF4_POPULATE_OWORD_10
	addq	$128, %rsp
	movq	(%r14), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_ef4_rx_queue_index
	leaq	-108(%rbp), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_ef4_writeo_table
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EF4_REV_FALCON_B0,8,3          ## @EF4_REV_FALCON_B0
	.comm	_hw,4,2                         ## @hw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RX queue %d ring in special buffers %d-%d\n"

	.comm	_FRF_AZ_RX_ISCSI_DDIG_EN,4,2    ## @FRF_AZ_RX_ISCSI_DDIG_EN
	.comm	_FRF_AZ_RX_ISCSI_HDIG_EN,4,2    ## @FRF_AZ_RX_ISCSI_HDIG_EN
	.comm	_FRF_AZ_RX_DESCQ_BUF_BASE_ID,4,2 ## @FRF_AZ_RX_DESCQ_BUF_BASE_ID
	.comm	_FRF_AZ_RX_DESCQ_EVQ_ID,4,2     ## @FRF_AZ_RX_DESCQ_EVQ_ID
	.comm	_FRF_AZ_RX_DESCQ_OWNER_ID,4,2   ## @FRF_AZ_RX_DESCQ_OWNER_ID
	.comm	_FRF_AZ_RX_DESCQ_LABEL,4,2      ## @FRF_AZ_RX_DESCQ_LABEL
	.comm	_FRF_AZ_RX_DESCQ_SIZE,4,2       ## @FRF_AZ_RX_DESCQ_SIZE
	.comm	_FRF_AZ_RX_DESCQ_TYPE,4,2       ## @FRF_AZ_RX_DESCQ_TYPE
	.comm	_FRF_AZ_RX_DESCQ_JUMBO,4,2      ## @FRF_AZ_RX_DESCQ_JUMBO
	.comm	_FRF_AZ_RX_DESCQ_EN,4,2         ## @FRF_AZ_RX_DESCQ_EN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_farch_rx_init              ; -- Begin function ef4_farch_rx_init
	.p2align	2
_ef4_farch_rx_init:                     ; @ef4_farch_rx_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x20, x0
	ldr	x19, [x0, #24]
	mov	x0, x19
	bl	_ef4_nic_rev
Lloh0:
	adrp	x8, _EF4_REV_FALCON_B0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EF4_REV_FALCON_B0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, #1
	cmp	x0, x8
	b.lt	LBB0_2
; %bb.1:
	ldr	x9, [x19, #16]
	cmp	x9, #0
	cset	w9, ne
LBB0_2:
	str	w9, [sp, #72]                   ; 4-byte Folded Spill
	cmp	x0, x8
	cset	w21, ge
Lloh3:
	adrp	x8, _hw@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hw@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	ldr	w23, [x19, #8]
	mov	x0, x20
	bl	_ef4_rx_queue_index
	mov	x4, x0
	ldp	x8, x5, [x20]
	add	x8, x5, x8
	sub	x6, x8, #1
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_netif_dbg
	str	xzr, [x20, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_ef4_init_special_buffer
Lloh8:
	adrp	x8, _FRF_AZ_RX_ISCSI_DDIG_EN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FRF_AZ_RX_ISCSI_DDIG_EN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [sp, #68]                   ; 4-byte Folded Spill
Lloh11:
	adrp	x8, _FRF_AZ_RX_ISCSI_HDIG_EN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FRF_AZ_RX_ISCSI_HDIG_EN@GOTPAGEOFF]
Lloh13:
	adrp	x9, _FRF_AZ_RX_DESCQ_BUF_BASE_ID@GOTPAGE
Lloh14:
	ldr	x9, [x9, _FRF_AZ_RX_DESCQ_BUF_BASE_ID@GOTPAGEOFF]
Lloh15:
	ldr	w23, [x8]
Lloh16:
	ldr	w8, [x9]
	str	w8, [sp, #64]                   ; 4-byte Folded Spill
	ldr	x8, [x20, #8]
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
Lloh17:
	adrp	x8, _FRF_AZ_RX_DESCQ_EVQ_ID@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FRF_AZ_RX_DESCQ_EVQ_ID@GOTPAGEOFF]
Lloh19:
	ldr	w26, [x8]
	mov	x0, x20
	bl	_ef4_rx_queue_channel
	ldr	w28, [x0]
Lloh20:
	adrp	x8, _FRF_AZ_RX_DESCQ_OWNER_ID@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FRF_AZ_RX_DESCQ_OWNER_ID@GOTPAGEOFF]
Lloh22:
	ldr	w22, [x8]
Lloh23:
	adrp	x8, _FRF_AZ_RX_DESCQ_LABEL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FRF_AZ_RX_DESCQ_LABEL@GOTPAGEOFF]
Lloh25:
	ldr	w24, [x8]
	mov	x0, x20
	bl	_ef4_rx_queue_index
	mov	x27, x0
Lloh26:
	adrp	x8, _FRF_AZ_RX_DESCQ_SIZE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _FRF_AZ_RX_DESCQ_SIZE@GOTPAGEOFF]
Lloh28:
	ldr	w25, [x8]
	ldr	x0, [x20]
	bl	___ffs
Lloh29:
	adrp	x8, _FRF_AZ_RX_DESCQ_TYPE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _FRF_AZ_RX_DESCQ_TYPE@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _FRF_AZ_RX_DESCQ_JUMBO@GOTPAGE
Lloh33:
	ldr	x9, [x9, _FRF_AZ_RX_DESCQ_JUMBO@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
Lloh35:
	adrp	x10, _FRF_AZ_RX_DESCQ_EN@GOTPAGE
Lloh36:
	ldr	x10, [x10, _FRF_AZ_RX_DESCQ_EN@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	mov	w11, #1
	stp	w10, w11, [sp, #44]
	ldp	w1, w10, [sp, #68]              ; 8-byte Folded Reload
	stp	w9, w10, [sp, #36]
	stp	w8, wzr, [sp, #28]
	stp	w25, w0, [sp, #20]
	stp	w24, w27, [sp, #12]
	stp	w22, wzr, [sp, #4]
	str	w28, [sp]
	mov	x2, x21
	mov	x3, x23
	mov	x4, x21
	ldr	w5, [sp, #64]                   ; 4-byte Folded Reload
	ldr	x6, [sp, #56]                   ; 8-byte Folded Reload
	mov	x7, x26
	bl	_EF4_POPULATE_OWORD_10
	ldr	x8, [x19]
	ldr	w21, [x8]
	mov	x0, x20
	bl	_ef4_rx_queue_index
	mov	x3, x0
	add	x1, sp, #76
	mov	x0, x19
	mov	x2, x21
	bl	_ef4_writeo_table
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EF4_REV_FALCON_B0,8,3          ; @EF4_REV_FALCON_B0
	.comm	_hw,4,2                         ; @hw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RX queue %d ring in special buffers %d-%d\n"

	.comm	_FRF_AZ_RX_ISCSI_DDIG_EN,4,2    ; @FRF_AZ_RX_ISCSI_DDIG_EN
	.comm	_FRF_AZ_RX_ISCSI_HDIG_EN,4,2    ; @FRF_AZ_RX_ISCSI_HDIG_EN
	.comm	_FRF_AZ_RX_DESCQ_BUF_BASE_ID,4,2 ; @FRF_AZ_RX_DESCQ_BUF_BASE_ID
	.comm	_FRF_AZ_RX_DESCQ_EVQ_ID,4,2     ; @FRF_AZ_RX_DESCQ_EVQ_ID
	.comm	_FRF_AZ_RX_DESCQ_OWNER_ID,4,2   ; @FRF_AZ_RX_DESCQ_OWNER_ID
	.comm	_FRF_AZ_RX_DESCQ_LABEL,4,2      ; @FRF_AZ_RX_DESCQ_LABEL
	.comm	_FRF_AZ_RX_DESCQ_SIZE,4,2       ; @FRF_AZ_RX_DESCQ_SIZE
	.comm	_FRF_AZ_RX_DESCQ_TYPE,4,2       ; @FRF_AZ_RX_DESCQ_TYPE
	.comm	_FRF_AZ_RX_DESCQ_JUMBO,4,2      ; @FRF_AZ_RX_DESCQ_JUMBO
	.comm	_FRF_AZ_RX_DESCQ_EN,4,2         ; @FRF_AZ_RX_DESCQ_EN
.subsections_via_symbols
