	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_pri
_set_pri:                               ## @set_pri
	.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	%rdx, %r14
	movl	%esi, %r15d
	movl	%edi, %ebx
	callq	_get_pri
	movq	(%rax), %rcx
	movq	_UNKNOWN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_REFER@GOTPCREL(%rip), %rcx
	cmpq	%r14, (%rcx)
	sete	%cl
	cmpl	%r15d, %ebx
	sete	%dl
	movq	_nextpri@GOTPCREL(%rip), %rsi
	testb	%cl, %dl
	cmovnel	(%rsi), %r15d
	movq	_RESOLVED@GOTPCREL(%rip), %rcx
	cmovneq	(%rcx), %r14
	movq	_lineno@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movl	%r15d, 8(%rax)
	movq	%r14, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	12(%rax), %esi
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warn                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REFER,8,3                      ## @REFER
	.comm	_numpri,4,2                     ## @numpri
	.comm	_INTERR,4,2                     ## @INTERR
	.comm	_nextpri,4,2                    ## @nextpri
	.comm	_RESOLVED,8,3                   ## @RESOLVED
	.comm	_UNKNOWN,8,3                    ## @UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"repeated item in order list (first on %d)"

	.comm	_lineno,4,2                     ## @lineno
	.no_dead_strip	_set_pri
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_pri
_set_pri:                               ; @set_pri
	.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
	bl	_get_pri
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _UNKNOWN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _REFER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REFER@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x19
	cset	w8, eq
	cmp	w21, w20
	cset	w9, eq
Lloh6:
	adrp	x10, _nextpri@GOTPAGE
Lloh7:
	ldr	x10, [x10, _nextpri@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w8, w10, w20, ne
Lloh9:
	adrp	x9, _RESOLVED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RESOLVED@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	csel	x9, x9, x19, ne
Lloh12:
	adrp	x10, _lineno@GOTPAGE
Lloh13:
	ldr	x10, [x10, _lineno@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	stp	w8, w10, [x0, #8]
	str	x9, [x0]
	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
LBB0_2:
	ldr	w1, [x0, #12]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	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
	b	_warn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_REFER,8,3                      ; @REFER
	.comm	_numpri,4,2                     ; @numpri
	.comm	_INTERR,4,2                     ; @INTERR
	.comm	_nextpri,4,2                    ; @nextpri
	.comm	_RESOLVED,8,3                   ; @RESOLVED
	.comm	_UNKNOWN,8,3                    ; @UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"repeated item in order list (first on %d)"

	.comm	_lineno,4,2                     ; @lineno
	.no_dead_strip	_set_pri
.subsections_via_symbols
