	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_priv_acct_setup                ## -- Begin function priv_acct_setup
	.p2align	4, 0x90
_priv_acct_setup:                       ## @priv_acct_setup
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	$4, -40(%rbp)
	movq	_SYSCTL_NAME@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	-28(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	cmpl	$0, -28(%rbp)
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_warnx
	jmp	LBB0_13
LBB0_1:
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
LBB0_12:
	xorl	%eax, %eax
	callq	_warn
LBB0_13:
	movl	$-1, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_fpath1@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$438, %r8d                      ## imm = 0x1B6
	callq	_setup_file
	movq	_fpath1_initialized@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_fpath2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$438, %r8d                      ## imm = 0x1B6
	callq	_setup_file
	movq	_fpath2_initialized@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	(%r14), %rax
	movq	_priv_acct_enable@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movq	_priv_acct_noopdisable@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.8:
	movq	_priv_acct_disable@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	movq	_priv_acct_rotate@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
LBB0_10:
	movq	(%r15), %rdi
	callq	_acct
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	(%r15), %rsi
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_12
LBB0_6:
	xorl	%edi, %edi
	callq	_acct
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_warn
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_SYSCTL_NAME,8,3                ## @SYSCTL_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"priv_acct_setup: sysctlbyname(%s)"

L_.str.1:                               ## @.str.1
	.asciz	"sysctlbyname(%s) indicates accounting configured"

L_.str.2:                               ## @.str.2
	.asciz	"priv_acct_setup: fpath1"

	.comm	_fpath1,8,3                     ## @fpath1
	.comm	_fpath1_initialized,4,2         ## @fpath1_initialized
L_.str.3:                               ## @.str.3
	.asciz	"priv_acct_setup: fpath2"

	.comm	_fpath2,8,3                     ## @fpath2
	.comm	_fpath2_initialized,4,2         ## @fpath2_initialized
	.comm	_priv_acct_enable,8,3           ## @priv_acct_enable
	.comm	_priv_acct_noopdisable,8,3      ## @priv_acct_noopdisable
L_.str.4:                               ## @.str.4
	.asciz	"priv_acct_setup: acct(NULL)"

	.comm	_priv_acct_disable,8,3          ## @priv_acct_disable
	.comm	_priv_acct_rotate,8,3           ## @priv_acct_rotate
L_.str.5:                               ## @.str.5
	.asciz	"priv_acct_setup: acct(\"%s\")"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_priv_acct_setup                ; -- Begin function priv_acct_setup
	.p2align	2
_priv_acct_setup:                       ; @priv_acct_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	w8, #4
	str	x8, [sp, #24]
Lloh0:
	adrp	x20, _SYSCTL_NAME@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SYSCTL_NAME@GOTPAGEOFF]
	ldr	x0, [x20]
	add	x1, sp, #20
	add	x2, sp, #24
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	tbnz	x0, #63, LBB0_3
; %bb.1:
	ldr	w8, [sp, #20]
	cbz	w8, LBB0_7
; %bb.2:
	ldr	x1, [x20]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warnx
	b	LBB0_5
LBB0_3:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	bl	_warn
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
Lloh6:
	adrp	x20, _fpath1@GOTPAGE
Lloh7:
	ldr	x20, [x20, _fpath1@GOTPAGEOFF]
	ldr	x1, [x20]
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w2, #0
	mov	w3, #0
	mov	w4, #438
	bl	_setup_file
Lloh10:
	adrp	x8, _fpath1_initialized@GOTPAGE
Lloh11:
	ldr	x8, [x8, _fpath1_initialized@GOTPAGEOFF]
	mov	w21, #1
Lloh12:
	str	w21, [x8]
Lloh13:
	adrp	x8, _fpath2@GOTPAGE
Lloh14:
	ldr	x8, [x8, _fpath2@GOTPAGEOFF]
Lloh15:
	ldr	x1, [x8]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w2, #0
	mov	w3, #0
	mov	w4, #438
	bl	_setup_file
Lloh18:
	adrp	x8, _fpath2_initialized@GOTPAGE
Lloh19:
	ldr	x8, [x8, _fpath2_initialized@GOTPAGEOFF]
Lloh20:
	str	w21, [x8]
	ldr	x8, [x19]
Lloh21:
	adrp	x9, _priv_acct_enable@GOTPAGE
Lloh22:
	ldr	x9, [x9, _priv_acct_enable@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
Lloh24:
	adrp	x10, _priv_acct_noopdisable@GOTPAGE
Lloh25:
	ldr	x10, [x10, _priv_acct_noopdisable@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_10
; %bb.8:
	mov	x0, #0
	bl	_acct
	cbz	x0, LBB0_6
; %bb.9:
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_4
LBB0_10:
Lloh29:
	adrp	x9, _priv_acct_disable@GOTPAGE
Lloh30:
	ldr	x9, [x9, _priv_acct_disable@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.11:
Lloh32:
	adrp	x9, _priv_acct_rotate@GOTPAGE
Lloh33:
	ldr	x9, [x9, _priv_acct_rotate@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.12:
	mov	w0, #0
	b	LBB0_6
LBB0_13:
	ldr	x0, [x20]
	bl	_acct
	cbz	x0, LBB0_6
; %bb.14:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh35:
	adrp	x0, l_.str.5@PAGE
Lloh36:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_SYSCTL_NAME,8,3                ; @SYSCTL_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"priv_acct_setup: sysctlbyname(%s)"

l_.str.1:                               ; @.str.1
	.asciz	"sysctlbyname(%s) indicates accounting configured"

l_.str.2:                               ; @.str.2
	.asciz	"priv_acct_setup: fpath1"

	.comm	_fpath1,8,3                     ; @fpath1
	.comm	_fpath1_initialized,4,2         ; @fpath1_initialized
l_.str.3:                               ; @.str.3
	.asciz	"priv_acct_setup: fpath2"

	.comm	_fpath2,8,3                     ; @fpath2
	.comm	_fpath2_initialized,4,2         ; @fpath2_initialized
	.comm	_priv_acct_enable,8,3           ; @priv_acct_enable
	.comm	_priv_acct_noopdisable,8,3      ; @priv_acct_noopdisable
l_.str.4:                               ; @.str.4
	.asciz	"priv_acct_setup: acct(NULL)"

	.comm	_priv_acct_disable,8,3          ; @priv_acct_disable
	.comm	_priv_acct_rotate,8,3           ; @priv_acct_rotate
l_.str.5:                               ; @.str.5
	.asciz	"priv_acct_setup: acct(\"%s\")"

.subsections_via_symbols
