	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audit_write_failure            ## -- Begin function audit_write_failure
	.p2align	4, 0x90
_audit_write_failure:                   ## @audit_write_failure
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r10d
	movl	%r8d, %r11d
	movl	%edx, %r14d
	movq	%rsi, %r12
	movl	%edi, %r15d
	movl	16(%rbp), %eax
	movl	24(%rbp), %r8d
	movl	32(%rbp), %r9d
	movl	40(%rbp), %ebx
	movl	%ecx, %edi
	movl	%r11d, %esi
	movl	%r10d, %edx
	movl	%eax, %ecx
	pushq	48(%rbp)
	pushq	%rbx
	callq	_au_to_subject32
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_au_to_text
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movswl	%r15w, %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	movl	$-1, %ecx
	movl	%r14d, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_audit_write                    ## TAILCALL
LBB0_1:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str(%rip), %rdx
	callq	_syslog
	movq	_kAUMakeSubjectTokErr@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_au_free_token
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str(%rip), %rdx
	callq	_syslog
	movq	_kAUMakeTextTokErr@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"audit_write_failure()"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"%s: au_to_subject32() failed"

	.comm	_kAUMakeSubjectTokErr,4,2       ## @kAUMakeSubjectTokErr
L_.str.2:                               ## @.str.2
	.asciz	"%s: au_to_text() failed"

	.comm	_kAUMakeTextTokErr,4,2          ## @kAUMakeTextTokErr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audit_write_failure            ; -- Begin function audit_write_failure
	.p2align	2
_audit_write_failure:                   ; @audit_write_failure
	.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	x10, x7
	mov	x9, x6
	mov	x8, x5
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldp	w5, w6, [x29, #16]
	ldr	x7, [x29, #24]
	mov	x0, x3
	mov	x1, x4
	mov	x2, x8
	mov	x3, x9
	mov	x4, x10
	bl	_au_to_subject32
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	mov	x0, x21
	bl	_au_to_text
	cbz	x0, LBB0_4
; %bb.2:
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	mov	w3, #-1
	mov	x4, x19
	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	_audit_write
LBB0_3:
Lloh0:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	_syslog
Lloh7:
	adrp	x8, _kAUMakeSubjectTokErr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _kAUMakeSubjectTokErr@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	mov	x0, x22
	bl	_au_free_token
Lloh9:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	bl	_syslog
Lloh16:
	adrp	x8, _kAUMakeTextTokErr@GOTPAGE
Lloh17:
	ldr	x8, [x8, _kAUMakeTextTokErr@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"audit_write_failure()"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"%s: au_to_subject32() failed"

	.comm	_kAUMakeSubjectTokErr,4,2       ; @kAUMakeSubjectTokErr
l_.str.2:                               ; @.str.2
	.asciz	"%s: au_to_text() failed"

	.comm	_kAUMakeTextTokErr,4,2          ; @kAUMakeTextTokErr
.subsections_via_symbols
