	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hinic_rq_prepare_wqe           ## -- Begin function hinic_rq_prepare_wqe
	.p2align	4, 0x90
_hinic_rq_prepare_wqe:                  ## @hinic_rq_prepare_wqe
	.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
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	(%rdi), %rax
	movl	(%rax,%rsi,4), %r15d
	movl	$4, %edi
	callq	_SIZE_8BYTES
	movq	_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_HINIC_RQ_CTRL_SET
	movl	%eax, %r13d
	movl	$4, %edi
	callq	_SIZE_8BYTES
	movq	_COMPLETE_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_HINIC_RQ_CTRL_SET
	movl	%eax, %ebx
	orl	%r13d, %ebx
	movl	$8, %edi
	callq	_SIZE_8BYTES
	movq	_BUFDESC_SECT_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_HINIC_RQ_CTRL_SET
	movl	%eax, %r13d
	movq	_RQ_COMPLETE_SGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_COMPLETE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_HINIC_RQ_CTRL_SET
	orl	%r13d, %eax
	orl	%ebx, %eax
	movl	%eax, (%r12)
	leaq	12(%r12), %rdi
	movl	%r15d, %esi
	movl	$4, %edx
	callq	_hinic_set_sge
	movl	4(%r14), %eax
	movl	%eax, 8(%r12)
	movl	(%r14), %eax
	movl	%eax, 4(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LEN,4,2                        ## @LEN
	.comm	_COMPLETE_LEN,4,2               ## @COMPLETE_LEN
	.comm	_BUFDESC_SECT_LEN,4,2           ## @BUFDESC_SECT_LEN
	.comm	_RQ_COMPLETE_SGE,4,2            ## @RQ_COMPLETE_SGE
	.comm	_COMPLETE_FORMAT,4,2            ## @COMPLETE_FORMAT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hinic_rq_prepare_wqe           ; -- Begin function hinic_rq_prepare_wqe
	.p2align	2
_hinic_rq_prepare_wqe:                  ; @hinic_rq_prepare_wqe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x3
	mov	x19, x2
	ldr	x8, [x0]
	ldr	w21, [x8, x1, lsl #2]
	mov	w0, #4
	bl	_SIZE_8BYTES
Lloh0:
	adrp	x8, _LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_HINIC_RQ_CTRL_SET
	mov	x22, x0
	mov	w0, #4
	bl	_SIZE_8BYTES
Lloh3:
	adrp	x8, _COMPLETE_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COMPLETE_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_HINIC_RQ_CTRL_SET
	orr	w22, w0, w22
	mov	w0, #8
	bl	_SIZE_8BYTES
Lloh6:
	adrp	x8, _BUFDESC_SECT_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BUFDESC_SECT_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_HINIC_RQ_CTRL_SET
	orr	w22, w22, w0
Lloh9:
	adrp	x8, _RQ_COMPLETE_SGE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RQ_COMPLETE_SGE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _COMPLETE_FORMAT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _COMPLETE_FORMAT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_HINIC_RQ_CTRL_SET
	orr	w8, w22, w0
	str	w8, [x19]
	add	x0, x19, #12
	mov	x1, x21
	mov	w2, #4
	bl	_hinic_set_sge
	ldr	d0, [x20]
	stur	d0, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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
	.cfi_endproc
                                        ; -- End function
	.comm	_LEN,4,2                        ; @LEN
	.comm	_COMPLETE_LEN,4,2               ; @COMPLETE_LEN
	.comm	_BUFDESC_SECT_LEN,4,2           ; @BUFDESC_SECT_LEN
	.comm	_RQ_COMPLETE_SGE,4,2            ; @RQ_COMPLETE_SGE
	.comm	_COMPLETE_FORMAT,4,2            ; @COMPLETE_FORMAT
.subsections_via_symbols
