	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_LC_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %r15
	movq	%r15, %rsi
	callq	_setlocale
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
	cmpl	$-1, %eax
	je	LBB0_4
LBB0_1:
	xorl	%eax, %eax
	callq	_usage
LBB0_2:
	movl	$1, %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	subl	%r12d, %ebx
	testl	%ebx, %ebx
	jle	LBB0_1
## %bb.5:
	movq	(%r14,%r12,8), %r15
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_escape
	movl	$0, -44(%rbp)
	leaq	(%r14,%r12,8), %rax
	addq	$8, %rax
	movq	_gargv@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	xorl	%r14d, %r14d
	movq	_maxargv@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movq	%rax, (%r13)
	movq	_myargv@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	$-1, %rcx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, 8(%rax,%rcx,8)
	leaq	1(%rcx), %rcx
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_myargc@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	cmpq	$0, -56(%rbp)
	jle	LBB0_21
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movq	%r15, %rbx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	-56(%rbp), %rcx
	addq	%r15, %rcx
	cmpq	%rcx, %rbx
	jae	LBB0_22
LBB0_11:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$37, (%rbx)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	%ebx, %edx
	subl	%edi, %edx
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %esi
	callq	_fwrite
	cmpb	$37, 1(%rbx)
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	$37, %edi
	callq	_putchar
	addq	$2, %rbx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=2
	incq	%rbx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	%rbx, %rdi
	leaq	-44(%rbp), %rsi
	callq	_printf_doformat
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_24
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	_end_fmt@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_24
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=2
	xorl	%r14d, %r14d
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	%rbx, %rdi
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	(%r12), %rcx
	movq	(%r13), %rax
	cmpq	%rax, %rcx
	jbe	LBB0_10
## %bb.20:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	%rcx, (%r13)
	movq	%rcx, %rax
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rbx
	movq	%r15, %rdi
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, (%r12)
	cmpl	$1, %r14d
	je	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=1
	subl	%edi, %ebx
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %r14d
	movl	$1, %esi
	movl	%ebx, %edx
	callq	_fwrite
	movq	(%r12), %rax
	cmpq	$0, (%rax)
	jne	LBB0_6
	jmp	LBB0_25
LBB0_24:
	movl	$1, %eax
	testq	%rbx, %rbx
	je	LBB0_3
LBB0_25:
	movl	-44(%rbp), %eax
	jmp	LBB0_3
LBB0_26:
	leaq	L_.str.1(%rip), %rdi
	callq	_warnx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_LC_ALL,4,2                     ## @LC_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_optind,8,3                     ## @optind
	.comm	_gargv,8,3                      ## @gargv
	.comm	_maxargv,8,3                    ## @maxargv
	.comm	_myargv,8,3                     ## @myargv
	.comm	_myargc,8,3                     ## @myargc
	.comm	_stdout,4,2                     ## @stdout
	.comm	_end_fmt,8,3                    ## @end_fmt
L_.str.1:                               ## @.str.1
	.asciz	"missing format character"

	.comm	_INTOFF,4,2                     ## @INTOFF
	.comm	_INTON,4,2                      ## @INTON
	.comm	_argptr,8,3                     ## @argptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _LC_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LC_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
	mov	x1, x21
	bl	_setlocale
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmn	w0, #1
	b.eq	LBB0_4
LBB0_1:
	bl	_usage
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
Lloh5:
	adrp	x8, _optind@GOTPAGE
Lloh6:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	sub	w9, w20, w8
	cmp	w9, #0
	b.le	LBB0_1
; %bb.5:
	add	x28, x19, x8, lsl #3
	ldr	x19, [x28], #8
	add	x2, sp, #8
	mov	x0, x19
	mov	w1, #1
	bl	_escape
	mov	w27, #0
Lloh8:
	adrp	x21, _gargv@GOTPAGE
Lloh9:
	ldr	x21, [x21, _gargv@GOTPAGEOFF]
	str	wzr, [sp, #4]
	str	x28, [x21]
Lloh10:
	adrp	x22, _maxargv@GOTPAGE
Lloh11:
	ldr	x22, [x22, _maxargv@GOTPAGEOFF]
Lloh12:
	adrp	x23, _myargv@GOTPAGE
Lloh13:
	ldr	x23, [x23, _myargv@GOTPAGEOFF]
Lloh14:
	adrp	x24, _myargc@GOTPAGE
Lloh15:
	ldr	x24, [x24, _myargc@GOTPAGEOFF]
Lloh16:
	adrp	x25, _stdout@GOTPAGE
Lloh17:
	ldr	x25, [x25, _stdout@GOTPAGEOFF]
Lloh18:
	adrp	x26, _end_fmt@GOTPAGE
Lloh19:
	ldr	x26, [x26, _end_fmt@GOTPAGEOFF]
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	mov	x8, #0
	str	x28, [x22]
	str	x28, [x23]
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x28, x8, lsl #3]
	add	x8, x8, #1
	cbnz	x9, LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x8, x8, #1
	str	x8, [x24]
	ldr	x8, [sp, #8]
	cmp	x8, #1
	b.lt	LBB0_21
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x20, x19
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [sp, #8]
	add	x8, x19, x8
	cmp	x20, x8
	b.hs	LBB0_22
LBB0_11:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x20]
	cmp	w8, #37
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	sub	w2, w20, w0
	ldr	w3, [x25]
	mov	w1, #1
	bl	_fwrite
	ldrb	w8, [x20, #1]
	cmp	w8, #37
	b.ne	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	w0, #37
	bl	_putchar
	add	x20, x20, #2
	b	LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x20, x20, #1
	b	LBB0_19
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x1, sp, #4
	mov	x0, x20
	bl	_printf_doformat
	mov	x20, x0
	cbz	x0, LBB0_25
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x26]
	cmp	x20, x8
	b.eq	LBB0_25
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	w27, #0
LBB0_18:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x20
LBB0_19:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x21]
	ldr	x28, [x22]
	cmp	x8, x28
	b.ls	LBB0_10
; %bb.20:                               ;   in Loop: Header=BB0_11 Depth=2
	str	x8, [x22]
	mov	x28, x8
	b	LBB0_10
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x20, x19
	mov	x0, x19
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x28, [x21]
	cmp	w27, #1
	b.eq	LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	w2, w20, w0
	ldr	w3, [x25]
	mov	w27, #1
	mov	w1, #1
	bl	_fwrite
	ldr	x28, [x21]
	ldr	x8, [x28]
	cbnz	x8, LBB0_6
; %bb.24:
	ldr	w0, [sp, #4]
	b	LBB0_3
LBB0_25:
	ldr	w8, [sp, #4]
	cmp	x20, #0
	csinc	w0, w8, wzr, ne
	b	LBB0_3
LBB0_26:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warnx
	b	LBB0_2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_LC_ALL,4,2                     ; @LC_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_optind,8,3                     ; @optind
	.comm	_gargv,8,3                      ; @gargv
	.comm	_maxargv,8,3                    ; @maxargv
	.comm	_myargv,8,3                     ; @myargv
	.comm	_myargc,8,3                     ; @myargc
	.comm	_stdout,4,2                     ; @stdout
	.comm	_end_fmt,8,3                    ; @end_fmt
l_.str.1:                               ; @.str.1
	.asciz	"missing format character"

	.comm	_INTOFF,4,2                     ; @INTOFF
	.comm	_INTON,4,2                      ; @INTON
	.comm	_argptr,8,3                     ; @argptr
.subsections_via_symbols
