	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_copy_rxq_ctx_to_hw
_ice_copy_rxq_ctx_to_hw:                ## @ice_copy_rxq_ctx_to_hw
	.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
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movl	%edx, %r14d
	movq	_QRX_CTRL_MAX_INDEX@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jge	LBB0_3
## %bb.8:
	movq	_ICE_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_1:
	movq	_ICE_ERR_BAD_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_3:
	movq	_ICE_RXQ_CTX_SIZE_DWORDS@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_6
## %bb.4:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	_QRX_CONTEXT
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_wr32
	movq	_ICE_DBG_QCTX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %r8d
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rdx
	movl	%r12d, %ecx
	callq	_ice_debug
	incq	%r12
	movslq	(%r13), %rax
	addq	$16, %rbx
	cmpq	%rax, %r12
	jl	LBB0_5
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_ERR_BAD_PTR,4,2            ## @ICE_ERR_BAD_PTR
	.comm	_QRX_CTRL_MAX_INDEX,4,2         ## @QRX_CTRL_MAX_INDEX
	.comm	_ICE_ERR_PARAM,4,2              ## @ICE_ERR_PARAM
	.comm	_ICE_RXQ_CTX_SIZE_DWORDS,4,2    ## @ICE_RXQ_CTX_SIZE_DWORDS
	.comm	_ICE_DBG_QCTX,4,2               ## @ICE_DBG_QCTX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qrxdata[%d]: %08X\n"

	.no_dead_strip	_ice_copy_rxq_ctx_to_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_copy_rxq_ctx_to_hw
_ice_copy_rxq_ctx_to_hw:                ; @ice_copy_rxq_ctx_to_hw
	.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
	cbz	x1, LBB0_3
; %bb.1:
	mov	x19, x2
Lloh0:
	adrp	x8, _QRX_CTRL_MAX_INDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QRX_CTRL_MAX_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ge	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _ICE_ERR_PARAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICE_ERR_PARAM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_8
LBB0_3:
Lloh6:
	adrp	x8, _ICE_ERR_BAD_PTR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ICE_ERR_BAD_PTR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_8
LBB0_4:
Lloh9:
	adrp	x24, _ICE_RXQ_CTX_SIZE_DWORDS@GOTPAGE
Lloh10:
	ldr	x24, [x24, _ICE_RXQ_CTX_SIZE_DWORDS@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x20, x1
	mov	x21, x0
	mov	x22, #0
Lloh11:
	adrp	x25, _ICE_DBG_QCTX@GOTPAGE
Lloh12:
	ldr	x25, [x25, _ICE_DBG_QCTX@GOTPAGEOFF]
Lloh13:
	adrp	x23, l_.str@PAGE
Lloh14:
	add	x23, x23, l_.str@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x19
	bl	_QRX_CONTEXT
	mov	x1, x0
	ldr	w2, [x20]
	mov	x0, x21
	bl	_wr32
	ldr	w1, [x25]
	ldr	w4, [x20], #16
	mov	x0, x21
	mov	x2, x23
	mov	x3, x22
	bl	_ice_debug
	add	x22, x22, #1
	ldrsw	x8, [x24]
	cmp	x22, x8
	b.lt	LBB0_6
LBB0_7:
	mov	w0, #0
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_ERR_BAD_PTR,4,2            ; @ICE_ERR_BAD_PTR
	.comm	_QRX_CTRL_MAX_INDEX,4,2         ; @QRX_CTRL_MAX_INDEX
	.comm	_ICE_ERR_PARAM,4,2              ; @ICE_ERR_PARAM
	.comm	_ICE_RXQ_CTX_SIZE_DWORDS,4,2    ; @ICE_RXQ_CTX_SIZE_DWORDS
	.comm	_ICE_DBG_QCTX,4,2               ; @ICE_DBG_QCTX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qrxdata[%d]: %08X\n"

	.no_dead_strip	_ice_copy_rxq_ctx_to_hw
.subsections_via_symbols
