	.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, %r12
	movl	%edi, %ebx
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rsi
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setbuf
	movl	$79, %r15d
	movl	$200, -48(%rbp)                 ## 4-byte Folded Spill
	cmpl	$2, %ebx
	jl	LBB0_3
## %bb.1:
	movq	8(%r12), %rdi
	callq	_atoi
	movl	%eax, %r15d
	cmpl	$2, %ebx
	je	LBB0_3
## %bb.2:
	movq	16(%r12), %rdi
	callq	_atoi
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_12
LBB0_3:
	xorl	%ebx, %ebx
	movl	$32, %r13d
	movq	_EOF@GOTPCREL(%rip), %r14
	movl	$32, -44(%rbp)                  ## 4-byte Folded Spill
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	cmpl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_12
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	cmpl	$127, %eax
	cmovel	%r13d, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	incl	%r15d
	cmpl	$127, %r15d
	cmovel	%r13d, %r15d
	decl	%r12d
	je	LBB0_9
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%r15b, %edi
	callq	_putchar
	cmpq	(%r14), %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$10, %edi
	callq	_putchar
	cmpq	(%r14), %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
	jmp	LBB0_11
LBB0_12:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.comm	_stdout,4,2                     ## @stdout
	.comm	_EOF,8,3                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Write error"

.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:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _BUFSIZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUFSIZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x9, x8
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x1, x9, x8
	mov	sp, x1
Lloh5:
	adrp	x22, _stdout@GOTPAGE
Lloh6:
	ldr	x22, [x22, _stdout@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_setbuf
	cmp	w21, #2
	b.lt	LBB0_3
; %bb.1:
	ldr	x0, [x20, #8]
	bl	_atoi
	mov	x19, x0
	cmp	w21, #2
	b.ne	LBB0_4
; %bb.2:
	mov	w20, #200
	b	LBB0_5
LBB0_3:
	mov	w19, #79
	mov	w20, #200
	b	LBB0_5
LBB0_4:
	ldr	x0, [x20, #16]
	bl	_atoi
	mov	x20, x0
	cmp	w0, #1
	b.lt	LBB0_14
LBB0_5:
	mov	w23, #0
	mov	w24, #32
Lloh7:
	adrp	x25, _EOF@GOTPAGE
Lloh8:
	ldr	x25, [x25, _EOF@GOTPAGEOFF]
	mov	w26, #32
Lloh9:
	adrp	x21, l_.str@PAGE
Lloh10:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w23, w23, #1
	cmp	w23, w20
	b.eq	LBB0_14
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	add	w8, w26, #1
	cmp	w8, #127
	csinc	w26, w24, w26, eq
	cmp	w19, #1
	b.lt	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x27, x19
	mov	x28, x26
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	w8, w28, #1
	cmp	w8, #127
	csinc	w28, w24, w28, eq
	subs	w27, w27, #1
	b.eq	LBB0_12
LBB0_10:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w0, w28
	bl	_putchar
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	w0, #1
	mov	x1, x21
	bl	_err
	b	LBB0_9
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #10
	bl	_putchar
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #1
	mov	x1, x21
	bl	_err
	b	LBB0_6
LBB0_14:
	ldr	w0, [x22]
	bl	_fflush
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.comm	_stdout,4,2                     ; @stdout
	.comm	_EOF,8,3                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Write error"

.subsections_via_symbols
