	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmdq_init_queue_ctxt
_cmdq_init_queue_ctxt:                  ## @cmdq_init_queue_ctxt
	.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	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_cmdq_to_cmdqs
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r14
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_be64_to_cpu
	movl	4(%r14), %esi
	movl	%eax, %edi
	callq	_CMDQ_PFN
	movq	_CURR_WQE_PAGE_PFN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_HINIC_CMDQ_CTXT_PAGE_INFO_SET
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_HINIC_CEQ_ID_CMDQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EQ_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_HINIC_CMDQ_CTXT_PAGE_INFO_SET
	movl	%eax, %r13d
	movq	_CEQ_ARM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edi
	callq	_HINIC_CMDQ_CTXT_PAGE_INFO_SET
	movl	%eax, %r15d
	orl	%r13d, %r15d
	movq	_CEQ_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edi
	callq	_HINIC_CMDQ_CTXT_PAGE_INFO_SET
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %edi
	movq	_WRAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_HINIC_CMDQ_CTXT_PAGE_INFO_SET
	orl	%ebx, %eax
	orl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, 8(%r12)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	4(%r14), %esi
	callq	_CMDQ_PFN
	movq	_WQ_BLOCK_PFN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_HINIC_CMDQ_CTXT_BLOCK_INFO_SET
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_atomic_read
	movq	_CI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_HINIC_CMDQ_CTXT_BLOCK_INFO_SET
	orl	%ebx, %eax
	movl	%eax, 12(%r12)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_HINIC_HWIF_FUNC_IDX
	movl	%eax, 4(%r12)
	movl	4(%r15), %eax
	movl	%eax, (%r12)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CURR_WQE_PAGE_PFN,4,2          ## @CURR_WQE_PAGE_PFN
	.comm	_HINIC_CEQ_ID_CMDQ,4,2          ## @HINIC_CEQ_ID_CMDQ
	.comm	_EQ_ID,4,2                      ## @EQ_ID
	.comm	_CEQ_ARM,4,2                    ## @CEQ_ARM
	.comm	_CEQ_EN,4,2                     ## @CEQ_EN
	.comm	_WRAPPED,4,2                    ## @WRAPPED
	.comm	_WQ_BLOCK_PFN,4,2               ## @WQ_BLOCK_PFN
	.comm	_CI,4,2                         ## @CI
	.no_dead_strip	_cmdq_init_queue_ctxt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmdq_init_queue_ctxt
_cmdq_init_queue_ctxt:                  ; @cmdq_init_queue_ctxt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_cmdq_to_cmdqs
	mov	x21, x0
	ldr	x22, [x20, #8]
	ldr	x8, [x22, #8]
	ldr	w0, [x8]
	bl	_be64_to_cpu
	ldr	w1, [x22, #4]
	bl	_CMDQ_PFN
Lloh0:
	adrp	x8, _CURR_WQE_PAGE_PFN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CURR_WQE_PAGE_PFN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_HINIC_CMDQ_CTXT_PAGE_INFO_SET
	mov	x24, x0
Lloh3:
	adrp	x8, _HINIC_CEQ_ID_CMDQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HINIC_CEQ_ID_CMDQ@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _EQ_ID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EQ_ID@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_HINIC_CMDQ_CTXT_PAGE_INFO_SET
	orr	w24, w0, w24
Lloh9:
	adrp	x8, _CEQ_ARM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CEQ_ARM@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w0, #1
	bl	_HINIC_CMDQ_CTXT_PAGE_INFO_SET
	orr	w24, w24, w0
Lloh12:
	adrp	x8, _CEQ_EN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CEQ_EN@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	w0, #1
	bl	_HINIC_CMDQ_CTXT_PAGE_INFO_SET
	orr	w24, w24, w0
	ldr	w0, [x20]
Lloh15:
	adrp	x8, _WRAPPED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WRAPPED@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_HINIC_CMDQ_CTXT_PAGE_INFO_SET
	orr	w8, w24, w0
	str	w8, [x19, #8]
	ldr	w0, [x23]
	ldr	w1, [x22, #4]
	bl	_CMDQ_PFN
Lloh18:
	adrp	x8, _WQ_BLOCK_PFN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WQ_BLOCK_PFN@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_HINIC_CMDQ_CTXT_BLOCK_INFO_SET
	mov	x23, x0
	mov	x0, x22
	bl	_atomic_read
Lloh21:
	adrp	x8, _CI@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CI@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_HINIC_CMDQ_CTXT_BLOCK_INFO_SET
	orr	w8, w0, w23
	str	w8, [x19, #12]
	ldr	w0, [x21]
	bl	_HINIC_HWIF_FUNC_IDX
	ldr	w8, [x20, #4]
	stp	w8, w0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_CURR_WQE_PAGE_PFN,4,2          ; @CURR_WQE_PAGE_PFN
	.comm	_HINIC_CEQ_ID_CMDQ,4,2          ; @HINIC_CEQ_ID_CMDQ
	.comm	_EQ_ID,4,2                      ; @EQ_ID
	.comm	_CEQ_ARM,4,2                    ; @CEQ_ARM
	.comm	_CEQ_EN,4,2                     ; @CEQ_EN
	.comm	_WRAPPED,4,2                    ; @WRAPPED
	.comm	_WQ_BLOCK_PFN,4,2               ; @WQ_BLOCK_PFN
	.comm	_CI,4,2                         ; @CI
	.no_dead_strip	_cmdq_init_queue_ctxt
.subsections_via_symbols
