	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_priv_proc_setrlimit_raisecur_nopriv ## -- Begin function priv_proc_setrlimit_raisecur_nopriv
	.p2align	4, 0x90
_priv_proc_setrlimit_raisecur_nopriv:   ## @priv_proc_setrlimit_raisecur_nopriv
	.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
	movl	%esi, %ebx
	movl	%edi, %r14d
	movq	_rl_lowered@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	%eax, -28(%rbp)
	movq	_RLIMIT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rsi
	callq	_setrlimit
	movl	%eax, %r15d
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_expect
LBB0_3:
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.4:
	testl	%ebx, %ebx
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_expect
LBB0_6:
	testl	%r14d, %r14d
	jne	LBB0_9
## %bb.7:
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_expect
LBB0_9:
	orl	%r14d, %ebx
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.3(%rip), %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_expect
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rl_lowered,8,2                 ## @rl_lowered
	.comm	_RLIMIT_DATA,4,2                ## @RLIMIT_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"priv_proc_setrlimit_raiscur_nopriv(asroot, injail)"

L_.str.1:                               ## @.str.1
	.asciz	"priv_proc_setrlimit_raisecur_nopriv(asroot, !injail)"

L_.str.2:                               ## @.str.2
	.asciz	"priv_proc_setrlimit_raisecur_nopriv(!asroot, injail)"

L_.str.3:                               ## @.str.3
	.asciz	"priv_proc_setrlimit_raisecur_nopriv(!asroot, !injail)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_priv_proc_setrlimit_raisecur_nopriv ; -- Begin function priv_proc_setrlimit_raisecur_nopriv
	.p2align	2
_priv_proc_setrlimit_raisecur_nopriv:   ; @priv_proc_setrlimit_raisecur_nopriv
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _rl_lowered@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rl_lowered@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x8, _RLIMIT_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RLIMIT_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_setrlimit
	mov	x21, x0
	cbz	w20, LBB0_3
; %bb.1:
	cbz	w19, LBB0_3
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	w2, #0
	mov	w3, #0
	bl	_expect
LBB0_3:
	cbz	w20, LBB0_6
; %bb.4:
	cbnz	w19, LBB0_6
; %bb.5:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	mov	w2, #0
	mov	w3, #0
	bl	_expect
LBB0_6:
	cbnz	w20, LBB0_9
; %bb.7:
	cbz	w19, LBB0_9
; %bb.8:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	mov	w2, #0
	mov	w3, #0
	bl	_expect
LBB0_9:
	orr	w8, w19, w20
	cbnz	w8, LBB0_11
; %bb.10:
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x21
	mov	w2, #0
	mov	w3, #0
	bl	_expect
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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_rl_lowered,8,2                 ; @rl_lowered
	.comm	_RLIMIT_DATA,4,2                ; @RLIMIT_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"priv_proc_setrlimit_raiscur_nopriv(asroot, injail)"

l_.str.1:                               ; @.str.1
	.asciz	"priv_proc_setrlimit_raisecur_nopriv(asroot, !injail)"

l_.str.2:                               ; @.str.2
	.asciz	"priv_proc_setrlimit_raisecur_nopriv(!asroot, injail)"

l_.str.3:                               ; @.str.3
	.asciz	"priv_proc_setrlimit_raisecur_nopriv(!asroot, !injail)"

.subsections_via_symbols
