	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selinux_bprm_committing_creds
_selinux_bprm_committing_creds:         ## @selinux_bprm_committing_creds
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rdi
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	je	LBB0_6
## %bb.1:
	movq	_current@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	16(%rax), %esi
	callq	_flush_unauthorized_files
	movq	(%r14), %rax
	movq	$0, 8(%rax)
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdi
	movq	_SECCLASS_PROCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PROCESS__RLIMITINH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r8d, %r8d
	callq	_avc_has_perm
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movq	_RLIM_NLIMITS@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	movq	_init_task@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %r13
	movq	(%r12), %rax
	movq	(%rax), %rax
	movl	4(%r13,%rbx,8), %edi
	movl	(%rax,%rbx,8), %esi
	callq	_min
	movl	%eax, (%r13,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movq	(%r14), %rdi
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_RLIMIT_CPU@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,8), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_update_rlimit_cpu              ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
	.comm	_SECCLASS_PROCESS,4,2           ## @SECCLASS_PROCESS
	.comm	_PROCESS__RLIMITINH,4,2         ## @PROCESS__RLIMITINH
	.comm	_RLIM_NLIMITS,4,2               ## @RLIM_NLIMITS
	.comm	_init_task,8,3                  ## @init_task
	.comm	_RLIMIT_CPU,8,3                 ## @RLIMIT_CPU
	.no_dead_strip	_selinux_bprm_committing_creds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function selinux_bprm_committing_creds
_selinux_bprm_committing_creds:         ; @selinux_bprm_committing_creds
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x0, [x0]
	ldr	x20, [x0]
	ldp	x8, x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.1:
Lloh0:
	adrp	x19, _current@GOTPAGE
Lloh1:
	ldr	x19, [x19, _current@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w1, [x8, #16]
	bl	_flush_unauthorized_files
	ldr	x8, [x19]
	str	xzr, [x8, #8]
	ldp	x1, x0, [x20]
Lloh2:
	adrp	x8, _SECCLASS_PROCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SECCLASS_PROCESS@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _PROCESS__RLIMITINH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PROCESS__RLIMITINH@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x4, #0
	bl	_avc_has_perm
	cbz	w0, LBB0_6
; %bb.2:
Lloh8:
	adrp	x20, _RLIM_NLIMITS@GOTPAGE
Lloh9:
	ldr	x20, [x20, _RLIM_NLIMITS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x21, #0
	mov	x22, #0
Lloh10:
	adrp	x23, _init_task@GOTPAGE
Lloh11:
	ldr	x23, [x23, _init_task@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [x23]
	ldr	x9, [x9]
	add	x24, x8, x21
	ldr	w0, [x24, #4]
	ldr	w1, [x9, x21]
	bl	_min
	str	w0, [x24]
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #8
	cmp	x22, x8
	b.lt	LBB0_4
LBB0_5:
	ldr	x0, [x19]
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _RLIMIT_CPU@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RLIMIT_CPU@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	lsl	x9, x9, #3
	ldr	w1, [x8, x9]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_update_rlimit_cpu
LBB0_6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_current,8,3                    ; @current
	.comm	_SECCLASS_PROCESS,4,2           ; @SECCLASS_PROCESS
	.comm	_PROCESS__RLIMITINH,4,2         ; @PROCESS__RLIMITINH
	.comm	_RLIM_NLIMITS,4,2               ; @RLIM_NLIMITS
	.comm	_init_task,8,3                  ; @init_task
	.comm	_RLIMIT_CPU,8,3                 ; @RLIMIT_CPU
	.no_dead_strip	_selinux_bprm_committing_creds
.subsections_via_symbols
