	.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_CTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_setlocale
	leaq	L_.str.1(%rip), %r15
	leaq	LJTI0_0(%rip), %r12
	movq	_vflag@GOTPCREL(%rip), %r13
	jmp	LBB0_1
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	$1, (%r13)
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-98(%rax), %ecx
	cmpl	$20, %ecx
	ja	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r12,%rcx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_nflag@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_bflag@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_1
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	$1, (%r13)
	movq	_eflag@GOTPCREL(%rip), %rax
	movq	$1, (%rax)
	jmp	LBB0_1
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_lflag@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_1
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_nflag@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_1
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_sflag@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	$1, (%r13)
	movq	_tflag@GOTPCREL(%rip), %rax
	movq	$1, (%rax)
	jmp	LBB0_1
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_setbuf
	jmp	LBB0_1
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_13
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_1
LBB0_13:
	movq	_optind@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%r14,%rax,8), %rbx
	movq	_lflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_16
## %bb.14:
	xorps	%xmm0, %xmm0
	movups	%xmm0, -56(%rbp)
	movq	_F_WRLCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_F_SETLKW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	callq	_fcntl
	cmpl	$-1, %eax
	jne	LBB0_16
## %bb.15:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_err
LBB0_16:
	movq	_bflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	setne	%al
	movq	_eflag@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	setne	%cl
	orb	%al, %cl
	movq	_nflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	setne	%al
	movq	_sflag@GOTPCREL(%rip), %rdx
	cmpl	$0, (%rdx)
	setne	%dl
	orb	%al, %dl
	orb	%cl, %dl
	movq	_tflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	setne	%al
	cmpq	$0, (%r13)
	setne	%cl
	orb	%al, %cl
	orb	%dl, %cl
	movzbl	%cl, %esi
	movq	%rbx, %rdi
	callq	_scanfiles
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fclose
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_18:
	movq	_rval@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_LC_CTYPE,4,2                   ## @LC_CTYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"belnstuv"

	.comm	_nflag,4,2                      ## @nflag
	.comm	_bflag,4,2                      ## @bflag
	.comm	_vflag,8,3                      ## @vflag
	.comm	_eflag,8,3                      ## @eflag
	.comm	_lflag,4,2                      ## @lflag
	.comm	_sflag,4,2                      ## @sflag
	.comm	_tflag,8,3                      ## @tflag
	.comm	_stdout,4,2                     ## @stdout
	.comm	_optind,4,2                     ## @optind
	.comm	_F_WRLCK,4,2                    ## @F_WRLCK
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.comm	_F_SETLKW,4,2                   ## @F_SETLKW
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_.str.2:                               ## @.str.2
	.asciz	"stdout"

	.comm	_rval,4,2                       ## @rval
.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, #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, 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	x24, _nflag@GOTPAGE
Lloh6:
	ldr	x24, [x24, _nflag@GOTPAGEOFF]
	mov	w25, #1
Lloh7:
	adrp	x28, _bflag@GOTPAGE
Lloh8:
	ldr	x28, [x28, _bflag@GOTPAGEOFF]
Lloh9:
	adrp	x21, l_.str.1@PAGE
Lloh10:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh11:
	adrp	x23, _vflag@GOTPAGE
Lloh12:
	ldr	x23, [x23, _vflag@GOTPAGEOFF]
Lloh13:
	adrp	x27, _eflag@GOTPAGE
Lloh14:
	ldr	x27, [x27, _eflag@GOTPAGEOFF]
Lloh15:
	adrp	x26, lJTI0_0@PAGE
Lloh16:
	add	x26, x26, lJTI0_0@PAGEOFF
Lloh17:
	adrp	x22, _lflag@GOTPAGE
Lloh18:
	ldr	x22, [x22, _lflag@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	x25, [x23]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	sub	w8, w0, #98
	cmp	w8, #20
	b.hi	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w25, [x24]
	str	w25, [x28]
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	x25, [x23]
	str	x25, [x27]
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w25, [x22]
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w25, [x24]
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh19:
	adrp	x8, _sflag@GOTPAGE
Lloh20:
	ldr	x8, [x8, _sflag@GOTPAGEOFF]
Lloh21:
	str	w25, [x8]
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	x25, [x23]
Lloh22:
	adrp	x8, _tflag@GOTPAGE
Lloh23:
	ldr	x8, [x8, _tflag@GOTPAGEOFF]
Lloh24:
	str	x25, [x8]
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh25:
	adrp	x8, _stdout@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_setbuf
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
	b	LBB0_2
LBB0_13:
Lloh28:
	adrp	x8, _optind@GOTPAGE
Lloh29:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh30:
	ldrsw	x8, [x8]
	add	x19, x19, x8, lsl #3
	ldr	w8, [x22]
	cbz	w8, LBB0_16
; %bb.14:
	stp	xzr, xzr, [sp, #16]
Lloh31:
	adrp	x8, _F_WRLCK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _F_WRLCK@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _SEEK_SET@GOTPAGE
Lloh35:
	ldr	x9, [x9, _SEEK_SET@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
Lloh37:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh38:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x8, _F_SETLKW@GOTPAGE
Lloh41:
	ldr	x8, [x8, _F_SETLKW@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_fcntl
	cmn	w0, #1
	b.ne	LBB0_16
; %bb.15:
Lloh43:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x1, l_.str.2@PAGE
Lloh47:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_err
LBB0_16:
	ldr	w8, [x28]
	cmp	w8, #0
	ldr	x8, [x27]
	ccmp	x8, #0, #0, eq
	ldr	w8, [x24]
	ccmp	w8, #0, #0, eq
Lloh48:
	adrp	x8, _sflag@GOTPAGE
Lloh49:
	ldr	x8, [x8, _sflag@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	ccmp	w8, #0, #0, eq
Lloh51:
	adrp	x8, _tflag@GOTPAGE
Lloh52:
	ldr	x8, [x8, _tflag@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	ccmp	x8, #0, #0, eq
	ldr	x8, [x23]
	ccmp	x8, #0, #0, eq
	cset	w1, ne
	mov	x0, x19
	bl	_scanfiles
Lloh54:
	adrp	x8, _stdout@GOTPAGE
Lloh55:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
	bl	_fclose
	cbz	x0, LBB0_18
; %bb.17:
Lloh57:
	adrp	x1, l_.str.2@PAGE
Lloh58:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_18:
Lloh59:
	adrp	x8, _rval@GOTPAGE
Lloh60:
	ldr	x8, [x8, _rval@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
                                        ; -- End function
	.comm	_LC_CTYPE,4,2                   ; @LC_CTYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"belnstuv"

	.comm	_nflag,4,2                      ; @nflag
	.comm	_bflag,4,2                      ; @bflag
	.comm	_vflag,8,3                      ; @vflag
	.comm	_eflag,8,3                      ; @eflag
	.comm	_lflag,4,2                      ; @lflag
	.comm	_sflag,4,2                      ; @sflag
	.comm	_tflag,8,3                      ; @tflag
	.comm	_stdout,4,2                     ; @stdout
	.comm	_optind,4,2                     ; @optind
	.comm	_F_WRLCK,4,2                    ; @F_WRLCK
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.comm	_F_SETLKW,4,2                   ; @F_SETLKW
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_.str.2:                               ; @.str.2
	.asciz	"stdout"

	.comm	_rval,4,2                       ; @rval
.subsections_via_symbols
