	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resolve_pri
_resolve_pri:                           ## @resolve_pri
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_get_pri
	movq	_resolve_pri.pass(%rip), %rcx
	incq	%rcx
	movq	%rcx, _resolve_pri.pass(%rip)
	movq	_REFER@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rax), %rsi
	cmpq	%rdx, %rsi
	jne	LBB0_5
## %bb.1:
	movq	_numpri@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r8
	movq	_prilist@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rdi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, 8(%rax)
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rax), %rsi
	cmpq	%r8, %rsi
	jae	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, 8(%rax)
	shlq	$5, %rsi
	leaq	(%rdi,%rsi), %rax
	movq	(%rdi,%rsi), %rsi
	cmpq	%rdx, %rsi
	je	LBB0_2
LBB0_5:
	movq	_UNKNOWN@GOTPCREL(%rip), %rdx
	movq	$-1, %rcx
	cmpq	(%rdx), %rsi
	je	LBB0_9
## %bb.6:
	movq	16(%rax), %rcx
	jmp	LBB0_9
LBB0_7:
	movl	24(%rax), %eax
	movq	_lineno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_8:
	movq	$-1, %rcx
LBB0_9:
	movq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_resolve_pri.pass,8,3 ## @resolve_pri.pass
	.comm	_REFER,8,3                      ## @REFER
	.comm	_lineno,4,2                     ## @lineno
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"circular reference in order list"

	.comm	_numpri,8,3                     ## @numpri
	.comm	_INTERR,4,2                     ## @INTERR
	.comm	_prilist,8,3                    ## @prilist
	.comm	_UNKNOWN,8,3                    ## @UNKNOWN
	.comm	_RESOLVED,8,3                   ## @RESOLVED
	.no_dead_strip	_resolve_pri
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resolve_pri
_resolve_pri:                           ; @resolve_pri
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_get_pri
Lloh0:
	adrp	x9, _resolve_pri.pass@PAGE
	ldr	x8, [x9, _resolve_pri.pass@PAGEOFF]
	add	x8, x8, #1
	str	x8, [x9, _resolve_pri.pass@PAGEOFF]
Lloh1:
	adrp	x9, _REFER@GOTPAGE
Lloh2:
	ldr	x9, [x9, _REFER@GOTPAGEOFF]
Lloh3:
	ldr	x9, [x9]
	ldr	x11, [x0]
	cmp	x11, x9
	b.ne	LBB0_5
; %bb.1:
Lloh4:
	adrp	x10, _numpri@GOTPAGE
Lloh5:
	ldr	x10, [x10, _numpri@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
Lloh7:
	adrp	x11, _prilist@GOTPAGE
Lloh8:
	ldr	x11, [x11, _prilist@GOTPAGEOFF]
Lloh9:
	ldr	x12, [x11]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x0, #8]
	cmp	x11, x8
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x11, [x0, #16]
	cmp	x11, x10
	b.hs	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x8, [x0, #8]
	add	x0, x12, x11, lsl #5
	ldr	x11, [x0]
	cmp	x11, x9
	b.eq	LBB0_2
LBB0_5:
Lloh10:
	adrp	x8, _UNKNOWN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UNKNOWN@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x11, x8
	b.eq	LBB0_8
; %bb.6:
	ldr	x0, [x0, #16]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w8, [x0, #24]
Lloh13:
	adrp	x9, _lineno@GOTPAGE
Lloh14:
	ldr	x9, [x9, _lineno@GOTPAGEOFF]
Lloh15:
	str	w8, [x9]
Lloh16:
	adrp	x8, _stderr@GOTPAGE
Lloh17:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_8:
	mov	x0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh1, Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_resolve_pri.pass,8,3 ; @resolve_pri.pass
	.comm	_REFER,8,3                      ; @REFER
	.comm	_lineno,4,2                     ; @lineno
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"circular reference in order list"

	.comm	_numpri,8,3                     ; @numpri
	.comm	_INTERR,4,2                     ; @INTERR
	.comm	_prilist,8,3                    ; @prilist
	.comm	_UNKNOWN,8,3                    ; @UNKNOWN
	.comm	_RESOLVED,8,3                   ; @RESOLVED
	.no_dead_strip	_resolve_pri
.subsections_via_symbols
