	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipz_queue_abs_to_offset        ## -- Begin function ipz_queue_abs_to_offset
	.p2align	4, 0x90
_ipz_queue_abs_to_offset:               ## @ipz_queue_abs_to_offset
	.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	%rdx, %r14
	movl	(%rdi), %eax
	cltd
	idivl	4(%rdi)
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movl	(%r12), %eax
	cltd
	idivl	%ecx
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_virt_to_abs
	cltq
	movslq	4(%r12), %rcx
	cmpq	%r15, %rax
	jg	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rdx
	addq	%rax, %rdx
	cmpq	%r15, %rdx
	jle	LBB0_5
## %bb.4:
	subq	%rax, %r15
	imull	%ecx, %ebx
	movslq	%ebx, %rax
	addq	%r15, %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipz_queue_abs_to_offset        ; -- Begin function ipz_queue_abs_to_offset
	.p2align	2
_ipz_queue_abs_to_offset:               ; @ipz_queue_abs_to_offset
	.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
	ldp	w8, w9, [x0]
	sdiv	w8, w8, w9
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	w0, [x8, x22, lsl #2]
	bl	_virt_to_abs
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x9, w0
	ldrsw	x8, [x21, #4]
	add	x10, x8, x9
	cmp	x9, x20
	ccmp	x10, x20, #4, le
	b.gt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldr	w9, [x21]
	sdiv	w8, w9, w8
	cmp	x22, w8, sxtw
	b.lt	LBB0_2
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
	mov	w0, #0
	sub	x9, x20, x9
	mul	w8, w8, w22
	add	x8, x9, w8, sxtw
	str	x8, [x19]
LBB0_6:
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
