	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sec_getc                       ## -- Begin function sec_getc
	.p2align	4, 0x90
_sec_getc:                              ## @sec_getc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_sec_complete@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.1:
	movq	_data_prot@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.2:
	callq	_fileno
	leaq	-1(%rbp), %rsi
	movl	%eax, %edi
	movl	$1, %edx
	callq	_sec_read
	testq	%rax, %rax
	jg	LBB0_3
## %bb.4:
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_6:
	addq	$16, %rsp
	popq	%rbp
	jmp	_getc                           ## TAILCALL
LBB0_3:
	movsbl	-1(%rbp), %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sec_complete,8,3               ## @sec_complete
	.comm	_data_prot,8,3                  ## @data_prot
	.comm	_EOF,4,2                        ## @EOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sec_getc                       ; -- Begin function sec_getc
	.p2align	2
_sec_getc:                              ; @sec_getc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _sec_complete@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sec_complete@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _data_prot@GOTPAGE
Lloh4:
	ldr	x9, [x9, _data_prot@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_getc
LBB0_2:
	bl	_fileno
	sub	x1, x29, #1
	mov	w2, #1
	bl	_sec_read
Lloh6:
	adrp	x8, _EOF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldursb	w9, [x29, #-1]
	cmp	x0, #1
	csel	w0, w8, w9, lt
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_sec_complete,8,3               ; @sec_complete
	.comm	_data_prot,8,3                  ; @data_prot
	.comm	_EOF,4,2                        ; @EOF
.subsections_via_symbols
