	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tac_set_priv                   ## -- Begin function tac_set_priv
	.p2align	4, 0x90
_tac_set_priv:                          ## @tac_set_priv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TAC_PRIV_LVL_MIN@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jg	LBB0_2
## %bb.1:
	movq	_TAC_PRIV_LVL_MAX@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jl	LBB0_2
## %bb.3:
	movl	%esi, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rsi
	callq	_generr
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TAC_PRIV_LVL_MIN,4,2           ## @TAC_PRIV_LVL_MIN
	.comm	_TAC_PRIV_LVL_MAX,4,2           ## @TAC_PRIV_LVL_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attempt to set invalid privilege level"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tac_set_priv                   ; -- Begin function tac_set_priv
	.p2align	2
_tac_set_priv:                          ; @tac_set_priv
	.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
Lloh0:
	adrp	x8, _TAC_PRIV_LVL_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TAC_PRIV_LVL_MIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TAC_PRIV_LVL_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TAC_PRIV_LVL_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w1
	ccmp	w9, w1, #8, le
	b.ge	LBB0_2
; %bb.1:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_generr
	mov	w8, #-1
	b	LBB0_3
LBB0_2:
	mov	w8, #0
	str	w1, [x0]
LBB0_3:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TAC_PRIV_LVL_MIN,4,2           ; @TAC_PRIV_LVL_MIN
	.comm	_TAC_PRIV_LVL_MAX,4,2           ; @TAC_PRIV_LVL_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attempt to set invalid privilege level"

.subsections_via_symbols
