	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pie_dequeue
_pie_dequeue:                           ## @pie_dequeue
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdx
	movq	%rdi, %r14
	movq	40(%rdi), %rbx
	movq	_PIE_DEPRATEEST_ENABLED@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	xorl	%ecx, %ecx
	andl	(%rbx), %eax
	sete	%cl
	leaq	-32(%rbp), %rsi
	callq	_fq_pie_extract_head
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movl	8(%r14), %ecx
	movq	_PIE_ACTIVE@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_12
## %bb.2:
	movq	_AQM_UNOW@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%r15), %esi
	testl	%esi, (%rbx)
	je	LBB0_11
## %bb.3:
	movq	_PIE_INMEASUREMENT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%ecx, %esi
	je	LBB0_8
## %bb.4:
	movl	12(%r14), %ebx
	addl	(%rax), %ebx
	movl	%ebx, 12(%r14)
	movq	_PIE_DQ_THRESHOLD@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	cmpl	%edi, %ebx
	jl	LBB0_8
## %bb.5:
	movq	%rdx, %r8
	subq	16(%r14), %r8
	movq	24(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.7:
	sarl	$8, %edi
	movslq	%edi, %r9
	imulq	%r9, %r8
	movl	$256, %edi                      ## imm = 0x100
	subq	%r9, %rdi
	imulq	%rdi, %rbx
	addq	%r8, %rbx
	sarq	$8, %rbx
	movq	%rbx, 24(%r14)
	movl	%esi, %edi
	notl	%edi
	andl	%edi, %ecx
	movl	%ecx, 8(%r14)
LBB0_8:
	testl	%esi, %ecx
	jne	LBB0_12
LBB0_9:
	movl	(%r14), %edi
	movq	_PIE_DQ_THRESHOLD@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %edi
	jl	LBB0_12
## %bb.10:
	orl	%esi, %ecx
	movl	%ecx, 8(%r14)
	movq	%rdx, 16(%r14)
	movl	$0, 12(%r14)
	jmp	LBB0_12
LBB0_11:
	subq	-32(%rbp), %rdx
	movq	%rdx, 32(%r14)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r8, 24(%r14)
	testl	%esi, %ecx
	jne	LBB0_12
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_PIE_DEPRATEEST_ENABLED,4,2     ## @PIE_DEPRATEEST_ENABLED
	.comm	_PIE_ACTIVE,4,2                 ## @PIE_ACTIVE
	.comm	_AQM_UNOW,8,3                   ## @AQM_UNOW
	.comm	_PIE_INMEASUREMENT,4,2          ## @PIE_INMEASUREMENT
	.comm	_PIE_DQ_THRESHOLD,4,2           ## @PIE_DQ_THRESHOLD
	.no_dead_strip	_pie_dequeue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pie_dequeue
_pie_dequeue:                           ; @pie_dequeue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x2, x1
	mov	x19, x0
	ldr	x20, [x0, #40]
	ldr	w8, [x20]
Lloh0:
	adrp	x21, _PIE_DEPRATEEST_ENABLED@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PIE_DEPRATEEST_ENABLED@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	cset	w3, eq
	add	x1, sp, #8
	bl	_fq_pie_extract_head
	cbz	x0, LBB0_11
; %bb.1:
	ldr	w8, [x19, #8]
Lloh2:
	adrp	x9, _PIE_ACTIVE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PIE_ACTIVE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.2:
Lloh5:
	adrp	x9, _AQM_UNOW@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AQM_UNOW@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w10, [x20]
	ldr	w11, [x21]
	tst	w11, w10
	b.eq	LBB0_10
; %bb.3:
Lloh8:
	adrp	x10, _PIE_INMEASUREMENT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PIE_INMEASUREMENT@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_7
; %bb.4:
	ldr	w11, [x0]
	ldr	w13, [x19, #12]
Lloh11:
	adrp	x12, _PIE_DQ_THRESHOLD@GOTPAGE
Lloh12:
	ldr	x12, [x12, _PIE_DQ_THRESHOLD@GOTPAGEOFF]
Lloh13:
	ldr	w12, [x12]
	add	w11, w13, w11
	cmp	w11, w12
	str	w11, [x19, #12]
	b.lt	LBB0_7
; %bb.5:
	ldp	x11, x13, [x19, #16]
	sub	x11, x9, x11
	cbz	x13, LBB0_12
; %bb.6:
	sbfx	x12, x12, #8, #24
	mov	w14, #256
	sub	x14, x14, x12
	mul	x13, x13, x14
	madd	x11, x11, x12, x13
	asr	x11, x11, #8
	str	x11, [x19, #24]
	bic	w8, w8, w10
	str	w8, [x19, #8]
LBB0_7:
	tst	w8, w10
	b.ne	LBB0_11
LBB0_8:
	ldr	w11, [x19]
Lloh14:
	adrp	x12, _PIE_DQ_THRESHOLD@GOTPAGE
Lloh15:
	ldr	x12, [x12, _PIE_DQ_THRESHOLD@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x12]
	cmp	w11, w12
	b.lt	LBB0_11
; %bb.9:
	orr	w8, w8, w10
	str	x9, [x19, #16]
	stp	w8, wzr, [x19, #8]
	b	LBB0_11
LBB0_10:
	ldr	x8, [sp, #8]
	sub	x8, x9, x8
	str	x8, [x19, #32]
LBB0_11:
	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
	add	sp, sp, #64
	ret
LBB0_12:
	str	x11, [x19, #24]
	tst	w8, w10
	b.ne	LBB0_11
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PIE_DEPRATEEST_ENABLED,4,2     ; @PIE_DEPRATEEST_ENABLED
	.comm	_PIE_ACTIVE,4,2                 ; @PIE_ACTIVE
	.comm	_AQM_UNOW,8,3                   ; @AQM_UNOW
	.comm	_PIE_INMEASUREMENT,4,2          ; @PIE_INMEASUREMENT
	.comm	_PIE_DQ_THRESHOLD,4,2           ; @PIE_DQ_THRESHOLD
	.no_dead_strip	_pie_dequeue
.subsections_via_symbols
