	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_listcmd_args
_parse_listcmd_args:                    ## @parse_listcmd_args
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	cmpl	$2, (%rsi)
	jb	LBB0_10
## %bb.1:
	jne	LBB0_9
## %bb.2:
	movq	8(%r15), %rax
	movq	8(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_parse_lineno
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_parse_filename
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	leaq	-40(%rbp), %rdi
	movl	$58, %esi
	callq	_skip_char
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_parse_lineno
	testl	%eax, %eax
	jne	LBB0_7
LBB0_6:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
LBB0_7:
	movq	-40(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_10
## %bb.8:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	jmp	LBB0_10
LBB0_9:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_10:
	movq	_FALSE@GOTPCREL(%rip), %r12
	cmpq	$0, 16(%rbx)
	jne	LBB0_25
## %bb.11:
	cmpl	$0, 28(%rbx)
	je	LBB0_12
## %bb.15:
	cmpl	$0, 24(%rbx)
	je	LBB0_16
LBB0_17:
	cmpq	$0, 8(%rbx)
	jne	LBB0_21
	jmp	LBB0_18
LBB0_12:
	movl	$1, %eax
	cmpq	$0, 8(%rbx)
	jne	LBB0_14
## %bb.13:
	movq	16(%r15), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	movl	$1, %eax
	cmovgl	%ecx, %eax
LBB0_14:
	movl	%eax, (%rbx)
	cmpl	$0, 24(%rbx)
	jne	LBB0_17
LBB0_16:
	movl	(%rbx), %eax
	addl	$9, %eax
	movl	%eax, 4(%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_21
LBB0_18:
	movq	16(%r15), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.19:
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	16(%r15), %rax
	movq	8(%rax), %rsi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_replace_ext
	movq	%rax, 8(%rbx)
LBB0_21:
	cmpq	$0, 16(%rbx)
	jne	LBB0_25
## %bb.22:
	cmpq	$0, 8(%rbx)
	jne	LBB0_23
## %bb.24:
	movq	_FALSE@GOTPCREL(%rip), %r12
	jmp	LBB0_25
LBB0_23:
	movq	_TRUE@GOTPCREL(%rip), %r12
LBB0_25:
	movq	(%r12), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"-"

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

	.comm	_FALSE,8,3                      ## @FALSE
L_str:                                  ## @str
	.asciz	"too many arguments"

	.no_dead_strip	_parse_listcmd_args
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_listcmd_args
_parse_listcmd_args:                    ; @parse_listcmd_args
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w8, [x1]
	cmp	w8, #2
	b.lo	LBB0_9
; %bb.1:
	b.ne	LBB0_11
; %bb.2:
	ldr	x8, [x21, #8]
	ldr	x8, [x8, #8]
	str	x8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x19
	bl	_parse_lineno
	cbnz	w0, LBB0_7
; %bb.3:
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x19
	bl	_parse_filename
	cbz	w0, LBB0_6
; %bb.4:
	add	x0, sp, #8
	mov	w1, #58
	bl	_skip_char
	cbz	w0, LBB0_7
; %bb.5:
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x19
	bl	_parse_lineno
	cbnz	w0, LBB0_7
LBB0_6:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_7:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_9
; %bb.8:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_9:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_12
LBB0_10:
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_25
LBB0_11:
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x19, #16]
Lloh11:
	adrp	x0, l_str@PAGE
Lloh12:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_10
LBB0_12:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_15
; %bb.13:
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_19
LBB0_14:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_23
	b	LBB0_20
LBB0_15:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_17
; %bb.16:
	mov	w8, #1
	b	LBB0_18
LBB0_17:
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	cmp	x8, #0
	csinc	w8, w8, wzr, gt
LBB0_18:
	str	w8, [x19]
	ldr	w8, [x19, #24]
	cbnz	w8, LBB0_14
LBB0_19:
	ldr	w8, [x19]
	add	w8, w8, #9
	str	w8, [x19, #4]
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_23
LBB0_20:
	ldr	x8, [x21, #16]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_23
; %bb.21:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_23
; %bb.22:
	ldr	x8, [x21, #16]
	ldr	x1, [x8, #8]
Lloh15:
	adrp	x2, l_.str.2@PAGE
Lloh16:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_replace_ext
	str	x0, [x19, #8]
LBB0_23:
	ldr	x9, [x19, #16]
Lloh17:
	adrp	x8, _FALSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	cbnz	x9, LBB0_25
; %bb.24:
	ldr	x9, [x19, #8]
Lloh19:
	adrp	x10, _TRUE@GOTPAGE
Lloh20:
	ldr	x10, [x10, _TRUE@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
LBB0_25:
	ldr	x0, [x8]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"-"

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

	.comm	_FALSE,8,3                      ; @FALSE
l_str:                                  ; @str
	.asciz	"too many arguments"

	.no_dead_strip	_parse_listcmd_args
.subsections_via_symbols
