	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audit_write_success            ## -- Begin function audit_write_success
	.p2align	4, 0x90
_audit_write_success:                   ## @audit_write_success
	.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	%r9d, %r10d
	movl	%r8d, %eax
	movq	%rsi, %r14
	movl	%edi, %r15d
	movl	16(%rbp), %r8d
	movl	24(%rbp), %r9d
	movl	32(%rbp), %ebx
	movl	%edx, %edi
	movl	%ecx, %esi
	movl	%eax, %edx
	movl	%r10d, %ecx
	pushq	40(%rbp)
	pushq	%rbx
	callq	_au_to_subject32
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movswl	%r15w, %edi
	movq	%rax, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	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
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"audit_write_success()"

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

	.comm	_kAUMakeSubjectTokErr,4,2       ## @kAUMakeSubjectTokErr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audit_write_success            ; -- Begin function audit_write_success
	.p2align	2
_audit_write_success:                   ; @audit_write_success
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x9, x7
	mov	x8, x6
	mov	x19, x1
	mov	x20, x0
	ldr	w6, [x29, #16]
	ldr	x7, [x29, #24]
	mov	x0, x2
	mov	x1, x3
	mov	x2, x4
	mov	x3, x5
	mov	x4, x8
	mov	x5, x9
	bl	_au_to_subject32
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	mov	w3, #0
	mov	w4, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_audit_write
LBB0_2:
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]
Lloh9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"audit_write_success()"

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

	.comm	_kAUMakeSubjectTokErr,4,2       ; @kAUMakeSubjectTokErr
.subsections_via_symbols
