	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hl_cq_init                     ## -- Begin function hl_cq_init
	.p2align	4, 0x90
_hl_cq_init:                            ## @hl_cq_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_HL_CQ_SIZE_IN_BYTES@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_HL_PAGE_SIZE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setg	%dil
	callq	_BUILD_BUG_ON
	movq	(%r15), %rax
	movq	(%r12), %rsi
	leaq	48(%rbx), %rdx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rdi
	movq	___GFP_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdi), %ecx
	movq	%r15, %rdi
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r15, 40(%rbx)
	movq	%rax, 32(%rbx)
	movl	%r14d, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	_HL_CQ_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_atomic_set
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HL_CQ_SIZE_IN_BYTES,8,3        ## @HL_CQ_SIZE_IN_BYTES
	.comm	_HL_PAGE_SIZE,8,3               ## @HL_PAGE_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	___GFP_ZERO,4,2                 ## @__GFP_ZERO
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_HL_CQ_LENGTH,4,2               ## @HL_CQ_LENGTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hl_cq_init                     ; -- Begin function hl_cq_init
	.p2align	2
_hl_cq_init:                            ; @hl_cq_init
	.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, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _HL_CQ_SIZE_IN_BYTES@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HL_CQ_SIZE_IN_BYTES@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh2:
	adrp	x9, _HL_PAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HL_PAGE_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, gt
	bl	_BUILD_BUG_ON
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x1, [x22]
Lloh5:
	adrp	x9, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GFP_KERNEL@GOTPAGEOFF]
	add	x2, x19, #48
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, ___GFP_ZERO@GOTPAGE
Lloh9:
	ldr	x10, [x10, ___GFP_ZERO@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w3, w10, w9
	mov	x0, x21
	blr	x8
	cbz	x0, LBB0_2
; %bb.1:
	stp	x0, x21, [x19, #32]
	str	w20, [x19, #24]
	stp	xzr, xzr, [x19, #8]
Lloh11:
	adrp	x8, _HL_CQ_LENGTH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HL_CQ_LENGTH@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_atomic_set
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_HL_CQ_SIZE_IN_BYTES,8,3        ; @HL_CQ_SIZE_IN_BYTES
	.comm	_HL_PAGE_SIZE,8,3               ; @HL_PAGE_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	___GFP_ZERO,4,2                 ; @__GFP_ZERO
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_HL_CQ_LENGTH,4,2               ; @HL_CQ_LENGTH
.subsections_via_symbols
