	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audit_arg_process              ## -- Begin function audit_arg_process
	.p2align	4, 0x90
_audit_arg_process:                     ## @audit_arg_process
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	movq	_MA_OWNED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_PROC_LOCK_ASSERT
	xorl	%eax, %eax
	callq	_currecord
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	8(%rbx), %rcx
	movl	8(%rcx), %edx
	movl	%edx, 28(%rax)
	movl	32(%rcx), %edx
	movl	%edx, 24(%rax)
	movq	24(%rcx), %rdx
	movl	(%rdx), %edx
	movl	%edx, 20(%rax)
	movsd	12(%rcx), %xmm0                 ## xmm0 = mem[0],zero
	movsd	(%rcx), %xmm1                   ## xmm1 = mem[0],zero
	movlhps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movups	%xmm1, 4(%rax)
	movl	(%rbx), %ecx
	movl	%ecx, (%rax)
	movq	_ARG_AUID@GOTPCREL(%rip), %rcx
	movq	_ARG_EUID@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	_ARG_EGID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_ARG_RUID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_ARG_RGID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_ARG_ASID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_ARG_TERMID_ADDR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_ARG_PID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_ARG_PROCESS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ARG_SET_VALID                  ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"audit_arg_process: p == NULL"

	.comm	_MA_OWNED,4,2                   ## @MA_OWNED
	.comm	_ARG_AUID,4,2                   ## @ARG_AUID
	.comm	_ARG_EUID,4,2                   ## @ARG_EUID
	.comm	_ARG_EGID,4,2                   ## @ARG_EGID
	.comm	_ARG_RUID,4,2                   ## @ARG_RUID
	.comm	_ARG_RGID,4,2                   ## @ARG_RGID
	.comm	_ARG_ASID,4,2                   ## @ARG_ASID
	.comm	_ARG_TERMID_ADDR,4,2            ## @ARG_TERMID_ADDR
	.comm	_ARG_PID,4,2                    ## @ARG_PID
	.comm	_ARG_PROCESS,4,2                ## @ARG_PROCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_audit_arg_process              ; -- Begin function audit_arg_process
	.p2align	2
_audit_arg_process:                     ; @audit_arg_process
	.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	x19, x0
	cmp	x0, #0
	cset	w0, ne
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
Lloh2:
	adrp	x8, _MA_OWNED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MA_OWNED@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_PROC_LOCK_ASSERT
	bl	_currecord
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w9, [x8, #8]
	ldr	w10, [x8, #32]
	stp	w10, w9, [x0, #24]
	ldr	x9, [x8, #24]
	ldr	w9, [x9]
	str	w9, [x0, #20]
	ldur	d0, [x8, #12]
	ldr	d1, [x8]
	mov.d	v1[1], v0[0]
	stur	q1, [x0, #4]
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _ARG_AUID@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ARG_AUID@GOTPAGEOFF]
	str	w8, [x0]
Lloh7:
	ldr	w8, [x9]
Lloh8:
	adrp	x9, _ARG_EUID@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ARG_EUID@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _ARG_EGID@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ARG_EGID@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _ARG_RUID@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ARG_RUID@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _ARG_RGID@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ARG_RGID@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _ARG_ASID@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ARG_ASID@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _ARG_TERMID_ADDR@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ARG_TERMID_ADDR@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh26:
	adrp	x9, _ARG_PID@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ARG_PID@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh29:
	adrp	x9, _ARG_PROCESS@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ARG_PROCESS@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w1, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ARG_SET_VALID
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"audit_arg_process: p == NULL"

	.comm	_MA_OWNED,4,2                   ; @MA_OWNED
	.comm	_ARG_AUID,4,2                   ; @ARG_AUID
	.comm	_ARG_EUID,4,2                   ; @ARG_EUID
	.comm	_ARG_EGID,4,2                   ; @ARG_EGID
	.comm	_ARG_RUID,4,2                   ; @ARG_RUID
	.comm	_ARG_RGID,4,2                   ; @ARG_RGID
	.comm	_ARG_ASID,4,2                   ; @ARG_ASID
	.comm	_ARG_TERMID_ADDR,4,2            ; @ARG_TERMID_ADDR
	.comm	_ARG_PID,4,2                    ; @ARG_PID
	.comm	_ARG_PROCESS,4,2                ; @ARG_PROCESS
.subsections_via_symbols
