	.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
	pushq	%rax
	.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_CTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_setlocale
	movq	_nstops@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_tabstops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$8, (%rax)
	leaq	L_.str.1(%rip), %r15
	movq	_all@GOTPCREL(%rip), %r12
	movq	_optarg@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %edi
	callq	_getstops
	movl	$1, (%r12)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
	cmpl	$97, %eax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$116, %eax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, (%r12)
	jmp	LBB0_1
LBB0_7:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	%ebx, %eax
	jne	LBB0_8
## %bb.15:
	leaq	L_.str.2(%rip), %rdi
	callq	_tabify
	movl	%eax, %r12d
	jmp	LBB0_14
LBB0_8:
	movq	(%r14,%rax,8), %r13
	xorl	%r12d, %r12d
	testq	%r13, %r13
	jne	LBB0_9
LBB0_14:
	xorl	%edi, %edi
	testl	%r12d, %r12d
	setne	%dil
	callq	_exit
LBB0_9:
	leaq	(%r14,%rax,8), %rbx
	addq	$8, %rbx
	xorl	%r12d, %r12d
	movq	_stdin@GOTPCREL(%rip), %r15
	leaq	L_.str.3(%rip), %r14
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rdi
	callq	_tabify
	orl	%eax, %r12d
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	(%rbx), %r13
	addq	$8, %rbx
	testq	%r13, %r13
	je	LBB0_14
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_freopen
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	L_.str.4(%rip), %rdi
	movq	%r13, %rsi
	callq	_warn
	movl	$1, %r12d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_LC_CTYPE,4,2                   ## @LC_CTYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_nstops,4,2                     ## @nstops
	.comm	_tabstops,8,3                   ## @tabstops
L_.str.1:                               ## @.str.1
	.asciz	"at:"

	.comm	_all,4,2                        ## @all
	.comm	_optarg,4,2                     ## @optarg
	.comm	_optind,8,3                     ## @optind
L_.str.2:                               ## @.str.2
	.asciz	"stdin"

L_.str.3:                               ## @.str.3
	.asciz	"r"

	.comm	_stdin,4,2                      ## @stdin
L_.str.4:                               ## @.str.4
	.asciz	"%s"

.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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _LC_CTYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LC_CTYPE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_setlocale
Lloh5:
	adrp	x8, _nstops@GOTPAGE
Lloh6:
	ldr	x8, [x8, _nstops@GOTPAGEOFF]
	mov	w22, #1
Lloh7:
	str	w22, [x8]
Lloh8:
	adrp	x8, _tabstops@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tabstops@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	mov	w9, #8
	str	w9, [x8]
Lloh11:
	adrp	x21, l_.str.1@PAGE
Lloh12:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh13:
	adrp	x23, _all@GOTPAGE
Lloh14:
	ldr	x23, [x23, _all@GOTPAGEOFF]
Lloh15:
	adrp	x24, _optarg@GOTPAGE
Lloh16:
	ldr	x24, [x24, _optarg@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x24]
	bl	_getstops
	str	w22, [x23]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmp	w0, #97
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #116
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w22, [x23]
	b	LBB0_2
LBB0_7:
Lloh17:
	adrp	x8, _optind@GOTPAGE
Lloh18:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	w8, w20
	b.ne	LBB0_9
; %bb.8:
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_tabify
	mov	x20, x0
	b	LBB0_15
LBB0_9:
	ldr	x22, [x19, x8, lsl #3]
	cbnz	x22, LBB0_11
; %bb.10:
	mov	w20, #0
	b	LBB0_15
LBB0_11:
	mov	w20, #0
	add	x8, x19, x8, lsl #3
	add	x23, x8, #8
Lloh22:
	adrp	x24, _stdin@GOTPAGE
Lloh23:
	ldr	x24, [x24, _stdin@GOTPAGEOFF]
Lloh24:
	adrp	x19, l_.str.3@PAGE
Lloh25:
	add	x19, x19, l_.str.3@PAGEOFF
Lloh26:
	adrp	x21, l_.str.4@PAGE
Lloh27:
	add	x21, x21, l_.str.4@PAGEOFF
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x22
	bl	_tabify
	orr	w20, w0, w20
	ldr	x22, [x23], #8
	cbz	x22, LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x24]
	mov	x0, x22
	mov	x1, x19
	bl	_freopen
	cbnz	x0, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_warn
	mov	w20, #1
	ldr	x22, [x23], #8
	cbnz	x22, LBB0_13
LBB0_15:
	cmp	w20, #0
	cset	w0, ne
	bl	_exit
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_LC_CTYPE,4,2                   ; @LC_CTYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_nstops,4,2                     ; @nstops
	.comm	_tabstops,8,3                   ; @tabstops
l_.str.1:                               ; @.str.1
	.asciz	"at:"

	.comm	_all,4,2                        ; @all
	.comm	_optarg,4,2                     ; @optarg
	.comm	_optind,8,3                     ; @optind
l_.str.2:                               ; @.str.2
	.asciz	"stdin"

l_.str.3:                               ; @.str.3
	.asciz	"r"

	.comm	_stdin,4,2                      ; @stdin
l_.str.4:                               ; @.str.4
	.asciz	"%s"

.subsections_via_symbols
