	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perform_setup
_perform_setup:                         ## @perform_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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	32(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	40(%r15), %edi
	movq	8(%r15), %rdx
	callq	_log_init
LBB0_2:
	testl	%ebx, %ebx
	jne	LBB0_5
## %bb.3:
	cmpq	$0, 48(%r15)
	je	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_detach
LBB0_5:
	movq	24(%r15), %r14
	testq	%r14, %r14
	je	LBB0_15
## %bb.6:
	cmpb	$0, (%r14)
	je	LBB0_15
## %bb.7:
	movq	8(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.8:
	cmpb	$0, (%rbx)
	je	LBB0_11
## %bb.9:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	8(%r15), %rdi
	callq	_strlen
	cltq
	addq	%rax, %r14
LBB0_11:
	cmpb	$0, (%r14)
	je	LBB0_15
## %bb.12:
	movq	%r14, %rdi
	callq	_chdir
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fatal_exit
LBB0_14:
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_verbose
LBB0_15:
	cmpq	$0, 32(%r15)
	je	LBB0_17
## %bb.16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movl	40(%r15), %edi
	movq	8(%r15), %rdx
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_log_init                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not chdir to %s: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_VERB_QUERY,4,2                 ## @VERB_QUERY
L_.str.1:                               ## @.str.1
	.asciz	"chdir to %s"

	.comm	_LOGIN_SETALL,8,3               ## @LOGIN_SETALL
	.comm	_LOGIN_SETGROUP,4,2             ## @LOGIN_SETGROUP
	.comm	_LOGIN_SETUSER,4,2              ## @LOGIN_SETUSER
	.comm	_cfg_gid,8,3                    ## @cfg_gid
	.comm	_cfg_uid,8,3                    ## @cfg_uid
	.no_dead_strip	_perform_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perform_setup
_perform_setup:                         ; @perform_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x19, x1
	ldr	x1, [x1, #32]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	w0, [x19, #40]
	ldr	x2, [x19, #8]
	bl	_log_init
LBB0_2:
	cbnz	w20, LBB0_5
; %bb.3:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_5
; %bb.4:
	bl	_detach
LBB0_5:
	ldr	x20, [x19, #24]
	cbz	x20, LBB0_15
; %bb.6:
	ldrb	w8, [x20]
	cbz	w8, LBB0_15
; %bb.7:
	ldr	x21, [x19, #8]
	cbz	x21, LBB0_11
; %bb.8:
	ldrb	w8, [x21]
	cbz	w8, LBB0_11
; %bb.9:
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strncmp
	cbnz	x0, LBB0_11
; %bb.10:
	ldr	x0, [x19, #8]
	bl	_strlen
	add	x20, x20, w0, sxtw
LBB0_11:
	ldrb	w8, [x20]
	cbz	w8, LBB0_15
; %bb.12:
	mov	x0, x20
	bl	_chdir
	cbz	x0, LBB0_14
; %bb.13:
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal_exit
LBB0_14:
Lloh5:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_verbose
LBB0_15:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_17
; %bb.16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_17:
	ldr	w0, [x19, #40]
	ldr	x2, [x19, #8]
	mov	x1, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_log_init
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not chdir to %s: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_VERB_QUERY,4,2                 ; @VERB_QUERY
l_.str.1:                               ; @.str.1
	.asciz	"chdir to %s"

	.comm	_LOGIN_SETALL,8,3               ; @LOGIN_SETALL
	.comm	_LOGIN_SETGROUP,4,2             ; @LOGIN_SETGROUP
	.comm	_LOGIN_SETUSER,4,2              ; @LOGIN_SETUSER
	.comm	_cfg_gid,8,3                    ; @cfg_gid
	.comm	_cfg_uid,8,3                    ; @cfg_uid
	.no_dead_strip	_perform_setup
.subsections_via_symbols
