	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show
_show:                                  ## @show
	.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	%rdi, %r14
	movq	(%rdi), %rdi
	callq	_getc
	movq	_EOF@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jne	LBB0_1
LBB0_10:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_ferror
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	callq	_fclose
	movq	$0, (%r14)
	movl	8(%r14), %edi
	callq	_ierr
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_1:
	movl	%eax, %ebx
	movq	_last@GOTPCREL(%rip), %r12
	movq	_no_files@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rdi
	callq	_getc
	movl	%eax, %ebx
	cmpl	(%r15), %eax
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r14, (%r12)
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, (%r13)
	jl	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_qflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r14), %edi
	movl	$1, %esi
	callq	_printfn
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, (%r12)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_putchar
	cmpl	(%r15), %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_oerr
	jmp	LBB0_9
LBB0_12:
	callq	_clearerr
	movl	$1, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.comm	_last,8,3                       ## @last
	.comm	_no_files,4,2                   ## @no_files
	.comm	_qflag,4,2                      ## @qflag
	.comm	_stdout,4,2                     ## @stdout
	.no_dead_strip	_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show
_show:                                  ; @show
	.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, x0
	ldr	x0, [x0]
	bl	_getc
Lloh0:
	adrp	x21, _EOF@GOTPAGE
Lloh1:
	ldr	x21, [x21, _EOF@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_3
LBB0_1:
Lloh2:
	adrp	x8, _stdout@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_fflush
	ldr	x20, [x19]
	mov	x0, x20
	bl	_ferror
	cbz	x0, LBB0_11
; %bb.2:
	mov	x0, x20
	bl	_fclose
	str	xzr, [x19]
	ldr	w0, [x19, #8]
	bl	_ierr
	mov	w0, #0
	b	LBB0_12
LBB0_3:
	mov	x20, x0
Lloh5:
	adrp	x22, _last@GOTPAGE
Lloh6:
	ldr	x22, [x22, _last@GOTPAGEOFF]
Lloh7:
	adrp	x23, _no_files@GOTPAGE
Lloh8:
	ldr	x23, [x23, _no_files@GOTPAGEOFF]
Lloh9:
	adrp	x24, _qflag@GOTPAGE
Lloh10:
	ldr	x24, [x24, _qflag@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19]
	bl	_getc
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w9, [x23]
	cmp	x8, x19
	ccmp	w9, #2, #8, ne
	b.lt	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24]
	cbnz	w8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19, #8]
	mov	w1, #1
	bl	_printfn
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	x19, [x22]
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_putchar
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_oerr
	b	LBB0_4
LBB0_11:
	mov	x0, x20
	bl	_clearerr
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.comm	_last,8,3                       ; @last
	.comm	_no_files,4,2                   ; @no_files
	.comm	_qflag,4,2                      ; @qflag
	.comm	_stdout,4,2                     ; @stdout
	.no_dead_strip	_show
.subsections_via_symbols
