	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hinic_qp_prepare_header        ## -- Begin function hinic_qp_prepare_header
	.p2align	4, 0x90
_hinic_qp_prepare_header:               ## @hinic_qp_prepare_header
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	%edx, 8(%rdi)
	movl	%esi, (%rdi)
	movq	_HINIC_QP_CTXT_TYPE_SQ@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	%ecx, %edi
	movl	%ecx, %esi
	xorl	%edx, %edx
	callq	_SQ_CTXT_OFFSET
	jmp	LBB0_3
LBB0_2:
	movl	%ecx, %edi
	movl	%ecx, %esi
	xorl	%edx, %edx
	callq	_RQ_CTXT_OFFSET
LBB0_3:
	movl	%eax, 4(%rbx)
	movl	%eax, %edi
	callq	_SIZE_16BYTES
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	movl	$12, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_hinic_cpu_to_be32              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HINIC_QP_CTXT_TYPE_SQ,4,2      ## @HINIC_QP_CTXT_TYPE_SQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hinic_qp_prepare_header        ; -- Begin function hinic_qp_prepare_header
	.p2align	2
_hinic_qp_prepare_header:               ; @hinic_qp_prepare_header
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	w2, [x0, #8]
	str	w1, [x0]
Lloh0:
	adrp	x8, _HINIC_QP_CTXT_TYPE_SQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HINIC_QP_CTXT_TYPE_SQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x0, x3
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	x1, x3
	mov	w2, #0
	bl	_SQ_CTXT_OFFSET
	b	LBB0_3
LBB0_2:
	mov	x1, x3
	mov	w2, #0
	bl	_RQ_CTXT_OFFSET
LBB0_3:
	str	w0, [x19, #4]
	bl	_SIZE_16BYTES
	str	w0, [x19, #4]
	mov	x0, x19
	mov	w1, #12
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hinic_cpu_to_be32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HINIC_QP_CTXT_TYPE_SQ,4,2      ; @HINIC_QP_CTXT_TYPE_SQ
.subsections_via_symbols
