	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_special                      ## -- Begin function c_special
	.p2align	4, 0x90
_c_special:                             ## @c_special
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %ebx
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%edi, %r15d
	movq	_CAPH_READ@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_caph_limit_stream
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	movq	_ERR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_err
LBB0_2:
	movl	(%r13), %esi
	movl	%r12d, %edi
	callq	_caph_limit_stream
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	movq	_ERR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_err
LBB0_4:
	xorl	%eax, %eax
	callq	_caph_enter
	testq	%rax, %rax
	jns	LBB0_6
## %bb.5:
	movq	_ERR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edi
	callq	_fdopen
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_ERR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_err
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edi
	callq	_fdopen
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	_ERR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_err
LBB0_10:
	incl	%r14d
	movq	_EOF@GOTPCREL(%rip), %r12
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	decl	%r14d
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r15, %rdi
	callq	_getc
	cmpl	(%r12), %eax
	jne	LBB0_11
	jmp	LBB0_13
LBB0_14:
	incl	%ebx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	decl	%ebx
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r14, %rdi
	callq	_getc
	cmpl	(%r12), %eax
	jne	LBB0_15
LBB0_13:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_30:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	movq	_ERR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_err
LBB0_32:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:
	movq	_ERR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_err
LBB0_34:
	movq	%r14, %rdi
	callq	_feof
	movq	%rax, %rbx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_feof
	testq	%rbx, %rbx
	je	LBB0_39
## %bb.35:
	testq	%rax, %rax
	jne	LBB0_37
LBB0_36:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_eofmsg
LBB0_37:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_fclose
	movq	%r14, %rdi
	callq	_fclose
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_40
## %bb.38:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_39:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_36
	jmp	LBB0_37
LBB0_18:
	movq	%r15, %rdi
	callq	_getc
	movq	%r14, %rdi
	movl	%eax, %r14d
	callq	_getc
	movl	(%r12), %ecx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmpl	%ecx, %r14d
	je	LBB0_30
## %bb.19:
	cmpl	%ecx, %eax
	je	LBB0_30
## %bb.20:
	movl	$1, %ebx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, %r14d
	je	LBB0_27
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_xflag@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	leaq	-1(%r15), %rsi
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_26
LBB0_24:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	_lflag@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_29
## %bb.25:                              ##   in Loop: Header=BB0_21 Depth=1
	leaq	L_.str.5(%rip), %rdi
	movq	%r15, %rsi
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_printf
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_27:                                ##   in Loop: Header=BB0_21 Depth=1
	xorl	%r13d, %r13d
	cmpl	$10, %r14d
	sete	%r12b
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_getc
	movl	%eax, %r14d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_getc
	movq	_EOF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %r14d
	je	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_21 Depth=1
	movb	%r12b, %r13b
	addl	%r13d, %ebx
	incq	%r15
	cmpl	%ecx, %eax
	jne	LBB0_21
	jmp	LBB0_30
LBB0_29:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	movl	%ebx, %ecx
	callq	_diffmsg
	jmp	LBB0_27
LBB0_40:
	movq	_DIFF_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_CAPH_READ,4,2                  ## @CAPH_READ
	.comm	_ERR_EXIT,4,2                   ## @ERR_EXIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"caph_limit_stream(%s)"

L_.str.1:                               ## @.str.1
	.asciz	"unable to enter capability mode"

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

L_.str.3:                               ## @.str.3
	.asciz	"%s"

	.comm	_EOF,4,2                        ## @EOF
	.comm	_xflag,8,3                      ## @xflag
L_.str.4:                               ## @.str.4
	.asciz	"%08llx %02x %02x\n"

	.comm	_lflag,8,3                      ## @lflag
L_.str.5:                               ## @.str.5
	.asciz	"%6lld %3o %3o\n"

	.comm	_DIFF_EXIT,4,2                  ## @DIFF_EXIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_special                      ; -- Begin function c_special
	.p2align	2
_c_special:                             ; @c_special
	.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	x23, x5
	mov	x28, x4
	mov	x22, x3
	mov	x24, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x25, _CAPH_READ@GOTPAGE
Lloh1:
	ldr	x25, [x25, _CAPH_READ@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_caph_limit_stream
Lloh2:
	adrp	x20, _ERR_EXIT@GOTPAGE
Lloh3:
	ldr	x20, [x20, _ERR_EXIT@GOTPAGEOFF]
	tbz	x0, #63, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	str	x19, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
LBB0_2:
	ldr	w1, [x25]
	mov	x0, x22
	bl	_caph_limit_stream
	tbnz	x0, #63, LBB0_14
; %bb.3:
	bl	_caph_enter
	tbnz	x0, #63, LBB0_15
LBB0_4:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_fdopen
	mov	x21, x0
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x20]
	str	x19, [sp]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
LBB0_6:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_fdopen
	mov	x22, x0
	cbnz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x20]
	str	x28, [sp]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
LBB0_8:
	add	w24, w24, #1
Lloh14:
	adrp	x27, _EOF@GOTPAGE
Lloh15:
	ldr	x27, [x27, _EOF@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	subs	w24, w24, #1
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	bl	_getc
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_9
	b	LBB0_17
LBB0_11:
	add	w23, w23, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	subs	w23, w23, #1
	b.eq	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x22
	bl	_getc
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_12
	b	LBB0_17
LBB0_14:
	ldr	w0, [x20]
	str	x28, [sp]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
	bl	_caph_enter
	tbz	x0, #63, LBB0_4
LBB0_15:
	ldr	w0, [x20]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
	b	LBB0_4
LBB0_16:
	mov	x0, x21
	bl	_getc
	mov	x23, x0
	mov	x0, x22
	bl	_getc
	ldr	w8, [x27]
	cmp	w23, w8
	ccmp	w0, w8, #4, ne
	b.ne	LBB0_28
LBB0_17:
	mov	w25, #0
LBB0_18:
	mov	x0, x21
	bl	_ferror
	cbz	x0, LBB0_20
; %bb.19:
	ldr	w0, [x20]
	str	x19, [sp]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
LBB0_20:
	mov	x0, x22
	bl	_ferror
	cbz	x0, LBB0_22
; %bb.21:
	ldr	w0, [x20]
	str	x28, [sp]
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
LBB0_22:
	mov	x0, x21
	bl	_feof
	mov	x23, x0
	mov	x0, x22
	bl	_feof
	cbz	x23, LBB0_27
; %bb.23:
	cbnz	x0, LBB0_25
LBB0_24:
	mov	x0, x19
	bl	_eofmsg
LBB0_25:
	mov	x0, x22
	bl	_fclose
	mov	x0, x21
	bl	_fclose
	cbnz	w25, LBB0_37
; %bb.26:
	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_27:
	mov	x19, x28
	cbnz	x0, LBB0_24
	b	LBB0_25
LBB0_28:
	mov	x3, x0
	mov	w25, #0
	mov	w24, #1
	mov	w26, #1
	b	LBB0_32
LBB0_29:                                ;   in Loop: Header=BB0_32 Depth=1
	sub	x1, x24, #1
Lloh24:
	adrp	x0, l_.str.4@PAGE
Lloh25:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_30:                                ;   in Loop: Header=BB0_32 Depth=1
	mov	x2, x23
	bl	_printf
	mov	w25, #1
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	cmp	w23, #10
	cinc	w26, w26, eq
	add	x24, x24, #1
	mov	x0, x21
	bl	_getc
	mov	x23, x0
	mov	x0, x22
	bl	_getc
	mov	x3, x0
	ldr	w8, [x27]
	cmp	w23, w8
	ccmp	w0, w8, #4, ne
	b.eq	LBB0_18
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	cmp	w23, w3
	b.eq	LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
Lloh26:
	adrp	x8, _xflag@GOTPAGE
Lloh27:
	ldr	x8, [x8, _xflag@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	cbnz	x8, LBB0_29
; %bb.34:                               ;   in Loop: Header=BB0_32 Depth=1
Lloh29:
	adrp	x8, _lflag@GOTPAGE
Lloh30:
	ldr	x8, [x8, _lflag@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cbz	x8, LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_32 Depth=1
Lloh32:
	adrp	x0, l_.str.5@PAGE
Lloh33:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x24
	b	LBB0_30
LBB0_36:                                ;   in Loop: Header=BB0_32 Depth=1
	mov	x0, x19
	mov	x1, x28
	mov	x2, x24
	mov	x3, x26
	bl	_diffmsg
	b	LBB0_31
LBB0_37:
Lloh34:
	adrp	x8, _DIFF_EXIT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _DIFF_EXIT@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_CAPH_READ,4,2                  ; @CAPH_READ
	.comm	_ERR_EXIT,4,2                   ; @ERR_EXIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"caph_limit_stream(%s)"

l_.str.1:                               ; @.str.1
	.asciz	"unable to enter capability mode"

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

l_.str.3:                               ; @.str.3
	.asciz	"%s"

	.comm	_EOF,4,2                        ; @EOF
	.comm	_xflag,8,3                      ; @xflag
l_.str.4:                               ; @.str.4
	.asciz	"%08llx %02x %02x\n"

	.comm	_lflag,8,3                      ; @lflag
l_.str.5:                               ; @.str.5
	.asciz	"%6lld %3o %3o\n"

	.comm	_DIFF_EXIT,4,2                  ; @DIFF_EXIT
.subsections_via_symbols
