	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function audit_pipe_init
_audit_pipe_init:                       ## @audit_pipe_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_audit_pipe_list@GOTPCREL(%rip), %rdi
	callq	_TAILQ_INIT
	xorl	%eax, %eax
	callq	_AUDIT_PIPE_LIST_LOCK_INIT
	movq	_UID_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GID_WHEEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_AUDIT_PIPE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	_audit_pipe_cdevsw@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %r9
	xorl	%esi, %esi
	movl	$384, %r8d                      ## imm = 0x180
	callq	_make_dev
	movq	_audit_pipe_dev@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	callq	_AUDIT_PIPE_LIST_LOCK_DESTROY
	leaq	L_.str.1(%rip), %rdi
	addq	$16, %rsp
	popq	%rbp
	jmp	_panic                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_audit_pipe_list,4,2            ## @audit_pipe_list
	.comm	_audit_pipe_cdevsw,4,2          ## @audit_pipe_cdevsw
	.comm	_UID_ROOT,4,2                   ## @UID_ROOT
	.comm	_GID_WHEEL,4,2                  ## @GID_WHEEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_AUDIT_PIPE_NAME,4,2            ## @AUDIT_PIPE_NAME
	.comm	_audit_pipe_dev,8,3             ## @audit_pipe_dev
L_.str.1:                               ## @.str.1
	.asciz	"Can't initialize audit pipe subsystem"

	.no_dead_strip	_audit_pipe_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function audit_pipe_init
_audit_pipe_init:                       ; @audit_pipe_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, _audit_pipe_list@GOTPAGE
Lloh1:
	ldr	x0, [x0, _audit_pipe_list@GOTPAGEOFF]
	bl	_TAILQ_INIT
	bl	_AUDIT_PIPE_LIST_LOCK_INIT
Lloh2:
	adrp	x8, _UID_ROOT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UID_ROOT@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _GID_WHEEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GID_WHEEL@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x8, _AUDIT_PIPE_NAME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AUDIT_PIPE_NAME@GOTPAGEOFF]
Lloh10:
	ldr	w6, [x8]
Lloh11:
	adrp	x0, _audit_pipe_cdevsw@GOTPAGE
Lloh12:
	ldr	x0, [x0, _audit_pipe_cdevsw@GOTPAGEOFF]
Lloh13:
	adrp	x5, l_.str@PAGE
Lloh14:
	add	x5, x5, l_.str@PAGEOFF
	mov	w1, #0
	mov	w4, #384
	bl	_make_dev
Lloh15:
	adrp	x8, _audit_pipe_dev@GOTPAGE
Lloh16:
	ldr	x8, [x8, _audit_pipe_dev@GOTPAGEOFF]
Lloh17:
	str	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	_AUDIT_PIPE_LIST_LOCK_DESTROY
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_panic
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_audit_pipe_list,4,2            ; @audit_pipe_list
	.comm	_audit_pipe_cdevsw,4,2          ; @audit_pipe_cdevsw
	.comm	_UID_ROOT,4,2                   ; @UID_ROOT
	.comm	_GID_WHEEL,4,2                  ; @GID_WHEEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_AUDIT_PIPE_NAME,4,2            ; @AUDIT_PIPE_NAME
	.comm	_audit_pipe_dev,8,3             ; @audit_pipe_dev
l_.str.1:                               ; @.str.1
	.asciz	"Can't initialize audit pipe subsystem"

	.no_dead_strip	_audit_pipe_init
.subsections_via_symbols
