	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function params_init
_params_init:                           ## @params_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$0, (%rdi)
	movq	$0, 24(%rdi)
	movq	_BODY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	leaq	4(%rdi), %r14
	movq	%rsi, %rdi
	movq	%r14, %rsi
	callq	_argv0_to_dir
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_atf_is_error
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	leaq	8(%rbx), %r12
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_atf_fs_path_init_fmt
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_atf_is_error
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	addq	$12, %rbx
	movq	%rbx, %rdi
	callq	_atf_map_init
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_atf_is_error
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%r12, %rdi
	callq	_atf_fs_path_fini
LBB0_4:
	movq	%r14, %rdi
	callq	_atf_fs_path_fini
LBB0_5:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BODY,4,2                       ## @BODY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/dev/stdout"

	.no_dead_strip	_params_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function params_init
_params_init:                           ; @params_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
	mov	x21, x0
	str	wzr, [x0]
	str	xzr, [x0, #24]
Lloh0:
	adrp	x8, _BODY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BODY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	add	x19, x0, #4
	mov	x0, x1
	mov	x1, x19
	bl	_argv0_to_dir
	mov	x20, x0
	bl	_atf_is_error
	cbnz	x0, LBB0_5
; %bb.1:
	add	x22, x21, #8
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_atf_fs_path_init_fmt
	mov	x20, x0
	bl	_atf_is_error
	cbnz	x0, LBB0_4
; %bb.2:
	add	x0, x21, #12
	bl	_atf_map_init
	mov	x20, x0
	bl	_atf_is_error
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x22
	bl	_atf_fs_path_fini
LBB0_4:
	mov	x0, x19
	bl	_atf_fs_path_fini
LBB0_5:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_BODY,4,2                       ; @BODY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/dev/stdout"

	.no_dead_strip	_params_init
.subsections_via_symbols
