	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audit_arg_text                 ## -- Begin function audit_arg_text
	.p2align	4, 0x90
_audit_arg_text:                        ## @audit_arg_text
	.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
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	xorl	%eax, %eax
	callq	_currecord
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	_ARG_ALL@GOTPCREL(%rip), %rax
	movq	_ARG_TEXT@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	xorl	(%rax), %ecx
	andl	%ecx, (%rbx)
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.2:
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_M_AUDITTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_malloc
	movq	%rax, %rdi
	movq	%rax, 8(%rbx)
LBB0_3:
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_strncpy
	movl	(%r15), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ARG_SET_VALID                  ## TAILCALL
LBB0_4:
	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_arg_text: text == NULL"

	.comm	_ARG_ALL,4,2                    ## @ARG_ALL
	.comm	_ARG_TEXT,4,2                   ## @ARG_TEXT
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_M_AUDITTEXT,4,2                ## @M_AUDITTEXT
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audit_arg_text                 ; -- Begin function audit_arg_text
	.p2align	2
_audit_arg_text:                        ; @audit_arg_text
	.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	x19, x0
	cmp	x0, #0
	cset	w0, ne
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	bl	_currecord
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x8, _ARG_ALL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ARG_ALL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x21, _ARG_TEXT@GOTPAGE
Lloh6:
	ldr	x21, [x21, _ARG_TEXT@GOTPAGEOFF]
	ldr	w9, [x21]
	eor	w8, w9, w8
	ldr	w9, [x0]
	and	w8, w9, w8
	str	w8, [x0]
	ldr	x0, [x0, #8]
Lloh7:
	adrp	x22, _MAXPATHLEN@GOTPAGE
Lloh8:
	ldr	x22, [x22, _MAXPATHLEN@GOTPAGEOFF]
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x22]
Lloh9:
	adrp	x8, _M_AUDITTEXT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _M_AUDITTEXT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	bl	_malloc
	str	x0, [x20, #8]
LBB0_3:
	ldr	w2, [x22]
	mov	x1, x19
	bl	_strncpy
	ldr	w1, [x21]
	mov	x0, x20
	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	_ARG_SET_VALID
LBB0_4:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"audit_arg_text: text == NULL"

	.comm	_ARG_ALL,4,2                    ; @ARG_ALL
	.comm	_ARG_TEXT,4,2                   ; @ARG_TEXT
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_M_AUDITTEXT,4,2                ; @M_AUDITTEXT
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
.subsections_via_symbols
