	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_priv_script_init               ## -- Begin function priv_script_init
	.p2align	4, 0x90
_priv_script_init:                      ## @priv_script_init
	.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	_ifi@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	8(%rbx), %rax
	movl	$100, (%rax)
	cmpq	$0, 8(%rax)
	jne	LBB0_4
## %bb.2:
	movl	$800, %edi                      ## imm = 0x320
	callq	_malloc
	movq	8(%rbx), %rcx
	movq	%rax, 8(%rcx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_4:
	movq	_CLIENT_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strdup
	movq	8(%rbx), %rcx
	movq	8(%rcx), %rcx
	movq	%rax, (%rcx)
	movq	8(%rbx), %rax
	movq	8(%rax), %rax
	cmpq	$0, (%rax)
	jne	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_error
	movq	8(%rbx), %rax
	movq	8(%rax), %rax
LBB0_6:
	movq	$0, 8(%rax)
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	callq	_script_set_env
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rcx
	callq	_script_set_env
LBB0_8:
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_script_set_env                 ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ifi,8,3                        ## @ifi
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"script_init: no memory for environment"

	.comm	_CLIENT_PATH,4,2                ## @CLIENT_PATH
L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"interface"

L_.str.3:                               ## @.str.3
	.asciz	"medium"

L_.str.4:                               ## @.str.4
	.asciz	"reason"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_priv_script_init               ; -- Begin function priv_script_init
	.p2align	2
_priv_script_init:                      ; @priv_script_init
	.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
Lloh0:
	adrp	x8, _ifi@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ifi@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	cbz	x21, LBB0_9
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x21, #8]
	mov	w9, #100
	str	w9, [x8]
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_4
; %bb.2:
	mov	w0, #800
	bl	_malloc
	ldr	x8, [x21, #8]
	str	x0, [x8, #8]
	cbnz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_4:
Lloh5:
	adrp	x8, _CLIENT_PATH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CLIENT_PATH@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_strdup
	ldr	x8, [x21, #8]
	ldr	x8, [x8, #8]
	str	x0, [x8]
	ldr	x8, [x21, #8]
	ldr	x8, [x8, #8]
	ldr	x9, [x8]
	cbnz	x9, LBB0_6
; %bb.5:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
	ldr	x8, [x21, #8]
	ldr	x8, [x8, #8]
LBB0_6:
	str	xzr, [x8, #8]
	ldp	x3, x0, [x21]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh12:
	adrp	x2, l_.str.2@PAGE
Lloh13:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_script_set_env
	cbz	x20, LBB0_8
; %bb.7:
	ldr	x0, [x21, #8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh16:
	adrp	x2, l_.str.3@PAGE
Lloh17:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x3, x20
	bl	_script_set_env
LBB0_8:
	ldr	x0, [x21, #8]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh20:
	adrp	x2, l_.str.4@PAGE
Lloh21:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x3, x19
	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	_script_set_env
LBB0_9:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ifi,8,3                        ; @ifi
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"script_init: no memory for environment"

	.comm	_CLIENT_PATH,4,2                ; @CLIENT_PATH
l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"interface"

l_.str.3:                               ; @.str.3
	.asciz	"medium"

l_.str.4:                               ; @.str.4
	.asciz	"reason"

.subsections_via_symbols
