	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_args
_parse_args:                            ## @parse_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	$0, (%rbx)
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	$-1, (%r14)
	movl	$1, %ebx
	cmpl	$2, %r15d
	jl	LBB0_21
## %bb.1:
	movl	$1, %ebx
	leaq	L_.str.1(%rip), %r13
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	leaq	L_.str.1(%rip), %r13
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	cmpl	%r15d, %ebx
	jge	LBB0_21
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movslq	%ebx, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %r14
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_dbg
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$45, (%r14)
	jne	LBB0_21
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_strlen
	cmpl	$2, %eax
	jl	LBB0_20
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%eax, %r13d
	decq	%r13
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=2
	incq	%r15
	cmpq	%r15, %r13
	je	LBB0_19
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%r14,%r15), %eax
	cmpb	$112, %al
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpb	$102, %al
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpb	$104, %al
	je	LBB0_10
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=2
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	callq	__rtld_error
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_print_usage
	xorl	%eax, %eax
	callq	_rtld_die
	jmp	LBB0_18
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	addl	$-2, %eax
	cmpl	%r15d, %eax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	callq	__rtld_error
	xorl	%eax, %eax
	callq	_rtld_die
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r12,8), %rdi
	callq	_parse_integer
	movl	%eax, %r14d
	cmpl	$-1, %eax
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	leaq	L_.str.1(%rip), %r13
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %rsi
	leaq	L_.str.4(%rip), %rdi
	callq	__rtld_error
	xorl	%eax, %eax
	callq	_rtld_die
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, (%rax)
	jmp	LBB0_20
LBB0_3:
	incl	%ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_print_usage
	xorl	%edi, %edi
	callq	__exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Parsing command-line arguments"

L_.str.1:                               ## @.str.1
	.asciz	"argv[%d]: '%s'"

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

L_.str.3:                               ## @.str.3
	.asciz	"Invalid options: %s"

L_.str.4:                               ## @.str.4
	.asciz	"Invalid file descriptor: '%s'"

L_.str.5:                               ## @.str.5
	.asciz	"Invalid argument: '%s'"

	.no_dead_strip	_parse_args
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_args
_parse_args:                            ; @parse_args
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg
	str	wzr, [x20]
	mov	w8, #-1
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	str	w8, [x19]
	mov	w26, #1
	mov	x28, x26
	cmp	w22, #2
	b.lt	LBB0_20
; %bb.1:
Lloh2:
	adrp	x19, l_.str.1@PAGE
Lloh3:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh4:
	adrp	x23, l_.str.2@PAGE
Lloh5:
	add	x23, x23, l_.str.2@PAGEOFF
	mov	x28, x26
Lloh6:
	adrp	x27, l_.str.5@PAGE
Lloh7:
	add	x27, x27, l_.str.5@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh8:
	adrp	x23, l_.str.2@PAGE
Lloh9:
	add	x23, x23, l_.str.2@PAGEOFF
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w28, w28, #1
	cmp	w28, w22
	b.ge	LBB0_20
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x25, [x21, w28, sxtw #3]
	stp	x28, x25, [sp]
	mov	x0, x19
	bl	_dbg
	mov	x0, x25
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_19
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x25]
	cmp	w8, #45
	b.ne	LBB0_20
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	bl	_strlen
	cmp	w0, #2
	b.lt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x8, w28
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	mov	w8, w0
	sub	x23, x8, #1
	mov	w24, #1
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	str	w26, [x20]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x24, x24, #1
	subs	x23, x23, #1
	b.eq	LBB0_2
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x25, x24]
	cmp	w8, #112
	b.eq	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	cmp	w8, #102
	b.eq	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	cmp	w8, #104
	b.eq	LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x27
	mov	x1, x25
	bl	__rtld_error
	ldr	x0, [x21]
	bl	_print_usage
	bl	_rtld_die
	b	LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w23, #1
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x25
	bl	__rtld_error
	bl	_rtld_die
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x28, x8, #1
	ldr	x0, [x21, x28, lsl #3]
	bl	_parse_integer
	mov	x25, x0
	cmn	w0, #1
Lloh12:
	adrp	x23, l_.str.2@PAGE
Lloh13:
	add	x23, x23, l_.str.2@PAGEOFF
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x21, x28, lsl #3]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__rtld_error
	bl	_rtld_die
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	w25, [x8]
                                        ; kill: def $w28 killed $w28 killed $x28 def $x28
	b	LBB0_3
LBB0_19:
	add	w28, w28, #1
LBB0_20:
	mov	x0, x28
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_21:
	ldr	x0, [x21]
	bl	_print_usage
	mov	w0, #0
	bl	__exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Parsing command-line arguments"

l_.str.1:                               ; @.str.1
	.asciz	"argv[%d]: '%s'"

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

l_.str.3:                               ; @.str.3
	.asciz	"Invalid options: %s"

l_.str.4:                               ; @.str.4
	.asciz	"Invalid file descriptor: '%s'"

l_.str.5:                               ; @.str.5
	.asciz	"Invalid argument: '%s'"

	.no_dead_strip	_parse_args
.subsections_via_symbols
