	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_precompose_argv                ## -- Begin function precompose_argv
	.p2align	4, 0x90
_precompose_argv:                       ## @precompose_argv
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_precomposed_unicode@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jne	LBB0_9
## %bb.1:
	movq	%rsi, %r12
	movl	%edi, %r15d
	movq	_repo_encoding@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_path_encoding@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_iconv_open
	cmpq	$-1, %rax
	je	LBB0_9
## %bb.2:
	movq	%rax, %r14
	testl	%r15d, %r15d
	jle	LBB0_8
## %bb.3:
	movl	%r15d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	cmpq	%r15, %r13
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r15,8), %rbx
	movq	%rbx, %rdi
	movq	$-1, %rsi
	leaq	-48(%rbp), %rdx
	callq	_has_non_ascii
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_reencode_string_iconv
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, (%r12,%r15,8)
	jmp	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	callq	_iconv_close
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_precomposed_unicode,4,2        ## @precomposed_unicode
	.comm	_repo_encoding,4,2              ## @repo_encoding
	.comm	_path_encoding,4,2              ## @path_encoding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_precompose_argv                ; -- Begin function precompose_argv
	.p2align	2
_precompose_argv:                       ; @precompose_argv
	.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
Lloh0:
	adrp	x8, _precomposed_unicode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _precomposed_unicode@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_9
; %bb.1:
	mov	x19, x1
	mov	x21, x0
Lloh3:
	adrp	x8, _repo_encoding@GOTPAGE
Lloh4:
	ldr	x8, [x8, _repo_encoding@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _path_encoding@GOTPAGE
Lloh7:
	ldr	x8, [x8, _path_encoding@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_iconv_open
	cmn	x0, #1
	b.eq	LBB0_9
; %bb.2:
	mov	x20, x0
	cmp	w21, #1
	b.lt	LBB0_8
; %bb.3:
	mov	w22, w21
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x19, x19, #8
	subs	x22, x22, #1
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x19]
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, #-1
	bl	_has_non_ascii
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x21
	mov	x2, x20
	mov	w3, #0
	mov	x4, #0
	bl	_reencode_string_iconv
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x0, [x19]
	b	LBB0_4
LBB0_8:
	mov	x0, x20
	bl	_iconv_close
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_precomposed_unicode,4,2        ; @precomposed_unicode
	.comm	_repo_encoding,4,2              ; @repo_encoding
	.comm	_path_encoding,4,2              ; @path_encoding
.subsections_via_symbols
