	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function push_parent
_push_parent:                           ## @push_parent
	.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, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdx), %ecx
	movq	_SEEN@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_8
## %bb.1:
	movq	_POPPED@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	jne	LBB0_15
## %bb.2:
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_3
## %bb.5:
	movq	8(%r15), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rbx
	cmpq	%r12, 16(%rbx)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_7
	jmp	LBB0_4
LBB0_8:
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_rev_list_push
	movq	%rax, %rbx
	jmp	LBB0_9
LBB0_3:
                                        ## implicit-def: $rbx
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_BUG
LBB0_9:
	movq	16(%r14), %rax
	movq	_COMMON@GOTPCREL(%rip), %rcx
	movq	_ADVERTISED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%edx, (%rax)
	je	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_mark_common
	movl	$1, %eax
	jmp	LBB0_15
LBB0_11:
	movq	(%r14), %rcx
	movl	8(%r14), %edx
	testq	%rcx, %rcx
	jne	LBB0_13
## %bb.12:
	leal	(%rdx,%rdx,2), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	incl	%edx
LBB0_13:
	movl	$1, %eax
	cmpl	%edx, 8(%rbx)
	jge	LBB0_15
## %bb.14:
	subq	$1, %rcx
	movslq	%edx, %rdx
	cmovbq	%rdx, %rcx
	movl	%edx, 8(%rbx)
	movq	%rcx, (%rbx)
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEN,4,2                       ## @SEEN
	.comm	_POPPED,4,2                     ## @POPPED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing parent in priority queue"

	.comm	_COMMON,4,2                     ## @COMMON
	.comm	_ADVERTISED,4,2                 ## @ADVERTISED
	.no_dead_strip	_push_parent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function push_parent
_push_parent:                           ; @push_parent
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x2]
Lloh0:
	adrp	x9, _SEEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SEEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _POPPED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _POPPED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_15
LBB0_3:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	bl	_rev_list_push
	mov	x22, x0
	b	LBB0_10
LBB0_4:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
	ldr	x9, [x21, #8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x9]
	ldr	x10, [x22, #16]
	cmp	x10, x19
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_6
	b	LBB0_9
LBB0_8:
                                        ; implicit-def: $x22
LBB0_9:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BUG
LBB0_10:
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _COMMON@GOTPAGE
Lloh9:
	ldr	x9, [x9, _COMMON@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _ADVERTISED@GOTPAGE
Lloh12:
	ldr	x10, [x10, _ADVERTISED@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x21
	mov	x1, x19
	bl	_mark_common
	b	LBB0_14
LBB0_12:
	ldr	x8, [x20]
	ldr	w9, [x20, #8]
	add	w10, w9, w9, lsl #1
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
	cmp	x8, #0
	csinc	w9, w9, w10, ne
	ldr	w10, [x22, #8]
	cmp	w10, w9
	b.ge	LBB0_14
; %bb.13:
	sxtw	x10, w9
	sub	x11, x8, #1
	cmp	x8, #0
	csel	x8, x10, x11, eq
	str	w9, [x22, #8]
	str	x8, [x22]
LBB0_14:
	mov	w0, #1
LBB0_15:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEN,4,2                       ; @SEEN
	.comm	_POPPED,4,2                     ; @POPPED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing parent in priority queue"

	.comm	_COMMON,4,2                     ; @COMMON
	.comm	_ADVERTISED,4,2                 ; @ADVERTISED
	.no_dead_strip	_push_parent
.subsections_via_symbols
