	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function security_validtrans_handle_fail
_security_validtrans_handle_fail:       ## @security_validtrans_handle_fail
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	movq	$0, -32(%rbp)
	leaq	-48(%rbp), %rsi
	leaq	-60(%rbp), %rdx
	callq	_context_struct_to_string
	testq	%rax, %rax
	js	LBB0_4
## %bb.1:
	leaq	-40(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_context_struct_to_string
	testq	%rax, %rax
	js	LBB0_4
## %bb.2:
	leaq	-32(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	movq	%r15, %rdi
	callq	_context_struct_to_string
	testq	%rax, %rax
	js	LBB0_4
## %bb.3:
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AUDIT_SELINUX_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %r8
	movq	-40(%rbp), %r9
	movq	_policydb@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	movl	-4(%rax,%rcx,4), %eax
	leaq	L_.str(%rip), %rcx
	pushq	%rax
	pushq	-32(%rbp)
	callq	_audit_log
	addq	$16, %rsp
LBB0_4:
	movq	-48(%rbp), %rdi
	callq	_kfree
	movq	-40(%rbp), %rdi
	callq	_kfree
	movq	-32(%rbp), %rdi
	callq	_kfree
	movq	_selinux_enforcing@GOTPCREL(%rip), %rcx
	movq	_EPERM@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	subl	(%rdx), %eax
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	cmovel	%ecx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_AUDIT_SELINUX_ERR,4,2          ## @AUDIT_SELINUX_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"security_validate_transition:  denied for oldcontext=%s newcontext=%s taskcontext=%s tclass=%s"

	.comm	_policydb,8,3                   ## @policydb
	.comm	_selinux_enforcing,4,2          ## @selinux_enforcing
	.comm	_EPERM,4,2                      ## @EPERM
	.no_dead_strip	_security_validtrans_handle_fail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function security_validtrans_handle_fail
_security_validtrans_handle_fail:       ; @security_validtrans_handle_fail
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x20, x2
	mov	x21, x1
	stp	xzr, xzr, [sp, #32]
	str	xzr, [sp, #24]
	add	x1, sp, #40
	add	x2, sp, #20
	bl	_context_struct_to_string
	tbnz	x0, #63, LBB0_4
; %bb.1:
	add	x1, sp, #32
	add	x2, sp, #16
	mov	x0, x21
	bl	_context_struct_to_string
	tbnz	x0, #63, LBB0_4
; %bb.2:
	add	x1, sp, #24
	add	x2, sp, #12
	mov	x0, x20
	bl	_context_struct_to_string
	tbnz	x0, #63, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _AUDIT_SELINUX_ERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AUDIT_SELINUX_ERR@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	ldp	x5, x4, [sp, #32]
	ldr	x6, [sp, #24]
Lloh9:
	adrp	x8, _policydb@GOTPAGE
Lloh10:
	ldr	x8, [x8, _policydb@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	sub	w9, w19, #1
	ldr	w7, [x8, w9, sxtw #2]
Lloh12:
	adrp	x3, l_.str@PAGE
Lloh13:
	add	x3, x3, l_.str@PAGEOFF
	bl	_audit_log
LBB0_4:
	ldr	x0, [sp, #40]
	bl	_kfree
	ldr	x0, [sp, #32]
	bl	_kfree
	ldr	x0, [sp, #24]
	bl	_kfree
Lloh14:
	adrp	x8, _selinux_enforcing@GOTPAGE
Lloh15:
	ldr	x8, [x8, _selinux_enforcing@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _EPERM@GOTPAGE
Lloh18:
	ldr	x9, [x9, _EPERM@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, #0
	csneg	w0, wzr, w9, eq
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_current,8,3                    ; @current
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_AUDIT_SELINUX_ERR,4,2          ; @AUDIT_SELINUX_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"security_validate_transition:  denied for oldcontext=%s newcontext=%s taskcontext=%s tclass=%s"

	.comm	_policydb,8,3                   ; @policydb
	.comm	_selinux_enforcing,4,2          ; @selinux_enforcing
	.comm	_EPERM,4,2                      ; @EPERM
	.no_dead_strip	_security_validtrans_handle_fail
.subsections_via_symbols
