	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_ef10_rx_init
_efx_ef10_rx_init:                      ## @efx_ef10_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	$40, %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	_inbuf@GOTPCREL(%rip), %r15
	movl	(%r15), %r14d
	movq	_EFX_MAX_DMAQ_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$3, %eax
	movq	_EFX_BUF_SIZE@GOTPCREL(%rip), %r13
	cltd
	idivl	(%r13)
	movslq	%eax, %rdi
	callq	_MC_CMD_INIT_RXQ_IN_LEN
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_MCDI_DECLARE_BUF
	movq	%rbx, %rdi
	callq	_efx_rx_queue_channel
	movq	%rax, %r12
	movl	(%rbx), %eax
	cltd
	idivl	(%r13)
	cltq
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	40(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r14
	movq	_MC_CMD_INIT_RXQ_OUT_LEN@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setne	%dil
	callq	_BUILD_BUG_ON
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movl	(%r15), %edi
	movq	_INIT_RXQ_IN_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%rbx), %rdx
	incq	%rdx
	callq	_MCDI_SET_DWORD
	movl	(%r15), %edi
	movq	_INIT_RXQ_IN_TARGET_EVQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r12), %rdx
	callq	_MCDI_SET_DWORD
	movl	(%r15), %r13d
	movq	_INIT_RXQ_IN_LABEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_efx_rx_queue_index
	movl	%r13d, %edi
	movl	%r12d, %esi
	movq	%rax, %rdx
	callq	_MCDI_SET_DWORD
	movl	(%r15), %r13d
	movq	_INIT_RXQ_IN_INSTANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_efx_rx_queue_index
	movl	%r13d, %edi
	movl	%r12d, %esi
	movq	%rax, %rdx
	callq	_MCDI_SET_DWORD
	movl	(%r15), %edi
	movq	_INIT_RXQ_IN_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INIT_RXQ_IN_FLAG_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_INIT_RXQ_IN_FLAG_TIMESTAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$1, %ecx
	movl	$1, %r9d
	callq	_MCDI_POPULATE_DWORD_2
	movl	(%r15), %edi
	movq	_INIT_RXQ_IN_OWNER_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_MCDI_SET_DWORD
	movl	(%r15), %edi
	movq	_INIT_RXQ_IN_PORT_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rdx
	callq	_MCDI_SET_DWORD
	movq	8(%rbx), %r13
	movq	_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_efx_rx_queue_index
	movl	%r13d, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	%rax, %r8
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r9
	callq	_netif_dbg
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$2, %rax
	movl	$1, %r14d
	cmovaeq	%rax, %r14
	xorl	%ebx, %ebx
	movq	_INIT_RXQ_IN_DMA_ADDR@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movl	(%r12), %esi
	movl	%ebx, %edx
	movq	%r13, %rcx
	callq	_MCDI_SET_ARRAY_QWORD
	movq	_EFX_BUF_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	%rax, %r13
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_2
LBB0_3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_MC_CMD_INIT_RXQ_IN_LEN
	movq	_MC_CMD_INIT_RXQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r15), %edx
	movq	$0, (%rsp)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%rax, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_efx_mcdi_rpc
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	(%rbx), %ebx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_efx_rx_queue_index
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_WARN                    ## TAILCALL
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_inbuf,4,2                      ## @inbuf
	.comm	_EFX_MAX_DMAQ_SIZE,4,2          ## @EFX_MAX_DMAQ_SIZE
	.comm	_EFX_BUF_SIZE,4,2               ## @EFX_BUF_SIZE
	.comm	_MC_CMD_INIT_RXQ_OUT_LEN,8,3    ## @MC_CMD_INIT_RXQ_OUT_LEN
	.comm	_INIT_RXQ_IN_SIZE,4,2           ## @INIT_RXQ_IN_SIZE
	.comm	_INIT_RXQ_IN_TARGET_EVQ,4,2     ## @INIT_RXQ_IN_TARGET_EVQ
	.comm	_INIT_RXQ_IN_LABEL,4,2          ## @INIT_RXQ_IN_LABEL
	.comm	_INIT_RXQ_IN_INSTANCE,4,2       ## @INIT_RXQ_IN_INSTANCE
	.comm	_INIT_RXQ_IN_FLAGS,4,2          ## @INIT_RXQ_IN_FLAGS
	.comm	_INIT_RXQ_IN_FLAG_PREFIX,4,2    ## @INIT_RXQ_IN_FLAG_PREFIX
	.comm	_INIT_RXQ_IN_FLAG_TIMESTAMP,4,2 ## @INIT_RXQ_IN_FLAG_TIMESTAMP
	.comm	_INIT_RXQ_IN_OWNER_ID,4,2       ## @INIT_RXQ_IN_OWNER_ID
	.comm	_INIT_RXQ_IN_PORT_ID,4,2        ## @INIT_RXQ_IN_PORT_ID
	.comm	_hw,4,2                         ## @hw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pushing RXQ %d. %zu entries (%llx)\n"

	.comm	_INIT_RXQ_IN_DMA_ADDR,4,2       ## @INIT_RXQ_IN_DMA_ADDR
	.comm	_MC_CMD_INIT_RXQ,4,2            ## @MC_CMD_INIT_RXQ
L_.str.1:                               ## @.str.1
	.asciz	"failed to initialise RXQ %d\n"

	.no_dead_strip	_efx_ef10_rx_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_ef10_rx_init
_efx_ef10_rx_init:                      ; @efx_ef10_rx_init
	.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
	mov	x19, x0
Lloh0:
	adrp	x25, _inbuf@GOTPAGE
Lloh1:
	ldr	x25, [x25, _inbuf@GOTPAGEOFF]
	ldr	w20, [x25]
Lloh2:
	adrp	x8, _EFX_MAX_DMAQ_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EFX_MAX_DMAQ_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	lsl	w8, w8, #3
Lloh5:
	adrp	x26, _EFX_BUF_SIZE@GOTPAGE
Lloh6:
	ldr	x26, [x26, _EFX_BUF_SIZE@GOTPAGEOFF]
	ldr	w9, [x26]
	sdiv	w8, w8, w9
	sxtw	x0, w8
	bl	_MC_CMD_INIT_RXQ_IN_LEN
	mov	x1, x0
	mov	x0, x20
	bl	_MCDI_DECLARE_BUF
	mov	x0, x19
	bl	_efx_rx_queue_channel
	mov	x22, x0
	ldr	w8, [x19]
	ldr	w9, [x26]
	sdiv	w27, w8, w9
	sxtw	x21, w27
	ldr	x20, [x19, #40]
	ldr	x24, [x20, #8]
Lloh7:
	adrp	x8, _MC_CMD_INIT_RXQ_OUT_LEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MC_CMD_INIT_RXQ_OUT_LEN@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, ne
	bl	_BUILD_BUG_ON
	stp	xzr, xzr, [x19, #24]
	ldr	w0, [x25]
Lloh10:
	adrp	x8, _INIT_RXQ_IN_SIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _INIT_RXQ_IN_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	x8, [x19, #16]
	add	x2, x8, #1
	bl	_MCDI_SET_DWORD
	ldr	w0, [x25]
Lloh13:
	adrp	x8, _INIT_RXQ_IN_TARGET_EVQ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _INIT_RXQ_IN_TARGET_EVQ@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	x2, [x22]
	bl	_MCDI_SET_DWORD
	ldr	w22, [x25]
Lloh16:
	adrp	x8, _INIT_RXQ_IN_LABEL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _INIT_RXQ_IN_LABEL@GOTPAGEOFF]
Lloh18:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_efx_rx_queue_index
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_MCDI_SET_DWORD
	ldr	w22, [x25]
Lloh19:
	adrp	x8, _INIT_RXQ_IN_INSTANCE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _INIT_RXQ_IN_INSTANCE@GOTPAGEOFF]
Lloh21:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_efx_rx_queue_index
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_MCDI_SET_DWORD
	ldr	w0, [x25]
Lloh22:
	adrp	x8, _INIT_RXQ_IN_FLAGS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _INIT_RXQ_IN_FLAGS@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _INIT_RXQ_IN_FLAG_PREFIX@GOTPAGE
Lloh26:
	ldr	x8, [x8, _INIT_RXQ_IN_FLAG_PREFIX@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
Lloh28:
	adrp	x8, _INIT_RXQ_IN_FLAG_TIMESTAMP@GOTPAGE
Lloh29:
	ldr	x8, [x8, _INIT_RXQ_IN_FLAG_TIMESTAMP@GOTPAGEOFF]
Lloh30:
	ldr	w4, [x8]
	mov	w3, #1
	mov	w5, #1
	bl	_MCDI_POPULATE_DWORD_2
	ldr	w0, [x25]
Lloh31:
	adrp	x8, _INIT_RXQ_IN_OWNER_ID@GOTPAGE
Lloh32:
	ldr	x8, [x8, _INIT_RXQ_IN_OWNER_ID@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_MCDI_SET_DWORD
	ldr	w0, [x25]
Lloh34:
	adrp	x8, _INIT_RXQ_IN_PORT_ID@GOTPAGE
Lloh35:
	ldr	x8, [x8, _INIT_RXQ_IN_PORT_ID@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	ldr	x2, [x24]
	bl	_MCDI_SET_DWORD
	ldr	x22, [x19, #8]
Lloh37:
	adrp	x8, _hw@GOTPAGE
Lloh38:
	ldr	x8, [x8, _hw@GOTPAGEOFF]
Lloh39:
	ldr	w23, [x8]
	ldr	w24, [x20]
	mov	x0, x19
	bl	_efx_rx_queue_index
	mov	x4, x0
Lloh40:
	adrp	x3, l_.str@PAGE
Lloh41:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	mov	x5, x21
	mov	x6, x22
	bl	_netif_dbg
	cbz	w27, LBB0_3
; %bb.1:
	mov	x23, #0
	cmp	x21, #1
	csinc	x24, x21, xzr, hi
Lloh42:
	adrp	x27, _INIT_RXQ_IN_DMA_ADDR@GOTPAGE
Lloh43:
	ldr	x27, [x27, _INIT_RXQ_IN_DMA_ADDR@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25]
	ldr	w1, [x27]
	mov	x2, x23
	mov	x3, x22
	bl	_MCDI_SET_ARRAY_QWORD
	ldrsw	x8, [x26]
	add	x22, x22, x8
	add	x23, x23, #1
	cmp	x24, x23
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x21
	bl	_MC_CMD_INIT_RXQ_IN_LEN
	mov	x3, x0
Lloh44:
	adrp	x8, _MC_CMD_INIT_RXQ@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MC_CMD_INIT_RXQ@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	ldr	w2, [x25]
	mov	x0, x20
	mov	x4, #0
	mov	w5, #0
	mov	x6, #0
	bl	_efx_mcdi_rpc
	cbz	w0, LBB0_5
; %bb.4:
	ldr	w20, [x20]
	mov	x0, x19
	bl	_efx_rx_queue_index
	mov	x2, x0
Lloh47:
	adrp	x1, l_.str.1@PAGE
Lloh48:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	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
	b	_netdev_WARN
LBB0_5:
	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 AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_inbuf,4,2                      ; @inbuf
	.comm	_EFX_MAX_DMAQ_SIZE,4,2          ; @EFX_MAX_DMAQ_SIZE
	.comm	_EFX_BUF_SIZE,4,2               ; @EFX_BUF_SIZE
	.comm	_MC_CMD_INIT_RXQ_OUT_LEN,8,3    ; @MC_CMD_INIT_RXQ_OUT_LEN
	.comm	_INIT_RXQ_IN_SIZE,4,2           ; @INIT_RXQ_IN_SIZE
	.comm	_INIT_RXQ_IN_TARGET_EVQ,4,2     ; @INIT_RXQ_IN_TARGET_EVQ
	.comm	_INIT_RXQ_IN_LABEL,4,2          ; @INIT_RXQ_IN_LABEL
	.comm	_INIT_RXQ_IN_INSTANCE,4,2       ; @INIT_RXQ_IN_INSTANCE
	.comm	_INIT_RXQ_IN_FLAGS,4,2          ; @INIT_RXQ_IN_FLAGS
	.comm	_INIT_RXQ_IN_FLAG_PREFIX,4,2    ; @INIT_RXQ_IN_FLAG_PREFIX
	.comm	_INIT_RXQ_IN_FLAG_TIMESTAMP,4,2 ; @INIT_RXQ_IN_FLAG_TIMESTAMP
	.comm	_INIT_RXQ_IN_OWNER_ID,4,2       ; @INIT_RXQ_IN_OWNER_ID
	.comm	_INIT_RXQ_IN_PORT_ID,4,2        ; @INIT_RXQ_IN_PORT_ID
	.comm	_hw,4,2                         ; @hw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pushing RXQ %d. %zu entries (%llx)\n"

	.comm	_INIT_RXQ_IN_DMA_ADDR,4,2       ; @INIT_RXQ_IN_DMA_ADDR
	.comm	_MC_CMD_INIT_RXQ,4,2            ; @MC_CMD_INIT_RXQ
l_.str.1:                               ; @.str.1
	.asciz	"failed to initialise RXQ %d\n"

	.no_dead_strip	_efx_ef10_rx_init
.subsections_via_symbols
