	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_cq_uk_init               ## -- Begin function i40iw_cq_uk_init
	.p2align	4, 0x90
_i40iw_cq_uk_init:                      ## @i40iw_cq_uk_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rax
	movq	(%rsi), %rsi
	movq	_I40IW_MIN_CQ_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	jl	LBB0_2
## %bb.1:
	movq	_I40IW_MAX_CQ_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	jg	LBB0_2
## %bb.3:
	movq	%rdi, %rbx
	movq	24(%rax), %rcx
	movq	%rcx, 40(%rdi)
	movq	%rsi, (%rdi)
	movups	8(%rax), %xmm0
	movups	%xmm0, 20(%rdi)
	movl	16(%rdi), %edi
	callq	_I40IW_RING_INIT
	movl	$1, 8(%rbx)
	movq	_iw_cq_ops@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_2:
	movq	_I40IW_ERR_INVALID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_MIN_CQ_SIZE,8,3          ## @I40IW_MIN_CQ_SIZE
	.comm	_I40IW_MAX_CQ_SIZE,8,3          ## @I40IW_MAX_CQ_SIZE
	.comm	_I40IW_ERR_INVALID_SIZE,4,2     ## @I40IW_ERR_INVALID_SIZE
	.comm	_iw_cq_ops,4,2                  ## @iw_cq_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_cq_uk_init               ; -- Begin function i40iw_cq_uk_init
	.p2align	2
_i40iw_cq_uk_init:                      ; @i40iw_cq_uk_init
	.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	x8, x1
	ldr	x1, [x1]
Lloh0:
	adrp	x9, _I40IW_MIN_CQ_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40IW_MIN_CQ_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _I40IW_MAX_CQ_SIZE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _I40IW_MAX_CQ_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x1, x9
	ccmp	x1, x10, #0, ge
	b.le	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _I40IW_ERR_INVALID_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40IW_ERR_INVALID_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
	mov	x19, x0
	ldr	x9, [x8, #24]
	str	x9, [x0, #40]
	str	x1, [x0]
	ldur	q0, [x8, #8]
	stur	q0, [x0, #20]
	ldr	w0, [x0, #16]
	bl	_I40IW_RING_INIT
	mov	w0, #0
	mov	w8, #1
Lloh9:
	adrp	x9, _iw_cq_ops@GOTPAGE
Lloh10:
	ldr	x9, [x9, _iw_cq_ops@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_MIN_CQ_SIZE,8,3          ; @I40IW_MIN_CQ_SIZE
	.comm	_I40IW_MAX_CQ_SIZE,8,3          ; @I40IW_MAX_CQ_SIZE
	.comm	_I40IW_ERR_INVALID_SIZE,4,2     ; @I40IW_ERR_INVALID_SIZE
	.comm	_iw_cq_ops,4,2                  ; @iw_cq_ops
.subsections_via_symbols
