	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw_queue_init
_ipw_queue_init:                        ## @ipw_queue_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	%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	%r8, %r14
	movq	%rcx, %r15
	movl	%edx, %ebx
	movq	%rdi, %r12
	movq	16(%rbp), %r13
	movl	%edx, (%rsi)
	leal	3(%rbx), %eax
	leal	7(%rbx), %ecx
	testl	%edx, %edx
	cmovnsl	%edx, %eax
	cmovnsl	%edx, %ecx
	sarl	$2, %eax
	sarl	$3, %ecx
	cmpl	$16, %edx
	movl	$4, %edx
	cmovgel	%eax, %edx
	movl	%edx, 4(%rsi)
	movl	$2, %eax
	cmovgel	%ecx, %eax
	movl	%eax, 8(%rsi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rsi)
	movq	%r15, 24(%rsi)
	movq	%r8, 16(%rsi)
	movl	12(%rsi), %edx
	movq	%r9, %rsi
	callq	_ipw_write32
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_ipw_write32
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ipw_write32
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ipw_write32
	movq	%r12, %rdi
	movl	$144, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__ipw_read32                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ipw_queue_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw_queue_init
_ipw_queue_init:                        ; @ipw_queue_init
	.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	x19, x6
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x0
	add	w8, w2, #3
	cmp	w2, #0
	csel	w8, w8, w2, lt
	asr	w8, w8, #2
	add	w9, w2, #7
	csel	w9, w9, w2, lt
	mov	w10, #4
	cmp	w2, #16
	csel	w8, w10, w8, lt
	stp	w2, w8, [x1]
	asr	w8, w9, #3
	mov	w9, #2
	csel	w8, w9, w8, lt
	str	w8, [x1, #8]
	stp	xzr, xzr, [x1, #32]
	stp	x4, x3, [x1, #16]
	ldr	w2, [x1, #12]
	mov	x1, x5
	bl	_ipw_write32
	mov	x0, x23
	mov	x1, x19
	mov	x2, x22
	bl	_ipw_write32
	mov	x0, x23
	mov	x1, x21
	mov	w2, #0
	bl	_ipw_write32
	mov	x0, x23
	mov	x1, x20
	mov	w2, #0
	bl	_ipw_write32
	mov	x0, x23
	mov	w1, #144
	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
	b	__ipw_read32
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ipw_queue_init
.subsections_via_symbols
