	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipz_queue_ctor                 ## -- Begin function ipz_queue_ctor
	.p2align	4, 0x90
_ipz_queue_ctor:                        ## @ipz_queue_ctor
	.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
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jge	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	movl	%ecx, %esi
	xorl	%eax, %eax
	callq	_ehca_gen_err
	jmp	LBB0_12
LBB0_2:
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	%ecx, %eax
	imull	%edx, %eax
	movl	%eax, (%rsi)
	movl	%ecx, 4(%rsi)
	movl	%r8d, 8(%rsi)
	movl	%r9d, 12(%rsi)
	movl	$1, 16(%rsi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rsi)
	leal	(,%r14,8), %r12d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_kzalloc
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movl	%r12d, %edi
	callq	_vzalloc
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	cmpl	$0, 16(%rbp)
	je	LBB0_7
## %bb.6:
	movq	%r15, %rsi
	callq	_alloc_small_queue_page
	jmp	LBB0_8
LBB0_7:
	movl	%r14d, %esi
	callq	_alloc_queue_pages
LBB0_8:
	movl	$1, %r15d
	testl	%eax, %eax
	jne	LBB0_12
## %bb.9:
	leaq	L_.str.2(%rip), %rdi
	xorl	%r15d, %r15d
	movq	%rbx, %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_ehca_gen_err
	movq	24(%rbx), %rdi
	callq	_is_vmalloc_addr
	movq	24(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	callq	_vfree
	jmp	LBB0_12
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_ehca_gen_err
	jmp	LBB0_12
LBB0_11:
	callq	_kfree
LBB0_12:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FATAL ERROR: pagesize=%x is greater than kernel page size"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't allocate queue page list"

L_.str.2:                               ## @.str.2
	.asciz	"Couldn't alloc pages queue=%p nr_of_pages=%x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipz_queue_ctor                 ; -- Begin function ipz_queue_ctor
	.p2align	2
_ipz_queue_ctor:                        ; @ipz_queue_ctor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
                                        ; kill: def $w3 killed $w3 def $x3
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	b.ge	LBB0_4
; %bb.1:
	str	x3, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
LBB0_2:
	bl	_ehca_gen_err
LBB0_3:
	mov	w0, #0
	b	LBB0_9
LBB0_4:
	mov	x21, x6
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	mul	w8, w3, w2
	stp	w8, w3, [x1]
	stp	w4, w5, [x1, #8]
	mov	w8, #1
	str	w8, [x1, #16]
	stp	xzr, xzr, [x1, #32]
	lsl	w23, w2, #3
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_kzalloc
	str	x0, [x19, #24]
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x23
	bl	_vzalloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_13
LBB0_6:
	mov	x0, x19
	cbz	w21, LBB0_10
; %bb.7:
	mov	x1, x22
	bl	_alloc_small_queue_page
	cbz	w0, LBB0_11
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
	mov	x1, x20
	bl	_alloc_queue_pages
	cbnz	w0, LBB0_8
LBB0_11:
	stp	x19, x20, [sp]
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_ehca_gen_err
	ldr	x0, [x19, #24]
	bl	_is_vmalloc_addr
	mov	x8, x0
	ldr	x0, [x19, #24]
	cbz	x8, LBB0_14
; %bb.12:
	bl	_vfree
	b	LBB0_3
LBB0_13:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_14:
	bl	_kfree
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FATAL ERROR: pagesize=%x is greater than kernel page size"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't allocate queue page list"

l_.str.2:                               ; @.str.2
	.asciz	"Couldn't alloc pages queue=%p nr_of_pages=%x"

.subsections_via_symbols
