	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sec_putc                       ## -- Begin function sec_putc
	.p2align	4, 0x90
_sec_putc:                              ## @sec_putc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movb	%bl, -25(%rbp)
	movq	_data_prot@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_prot_clear@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.5:
	movl	%ebx, %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_putc                           ## TAILCALL
LBB0_1:
	movq	_out_buffer@GOTPCREL(%rip), %r15
	leaq	-25(%rbp), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_buffer_write
	cmpl	$10, %ebx
	je	LBB0_3
## %bb.2:
	cmpl	$1024, (%r15)                   ## imm = 0x400
	jl	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	callq	_fileno
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movl	%eax, %edi
	callq	_sec_write
	movl	$0, (%r15)
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_data_prot,8,3                  ## @data_prot
	.comm	_prot_clear,8,3                 ## @prot_clear
	.comm	_out_buffer,8,2                 ## @out_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sec_putc                       ; -- Begin function sec_putc
	.p2align	2
_sec_putc:                              ; @sec_putc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _data_prot@GOTPAGE
Lloh1:
	ldr	x8, [x8, _data_prot@GOTPAGEOFF]
	strb	w0, [sp, #15]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _prot_clear@GOTPAGE
Lloh4:
	ldr	x9, [x9, _prot_clear@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	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
	add	sp, sp, #64
	b	_putc
LBB0_2:
Lloh6:
	adrp	x21, _out_buffer@GOTPAGE
Lloh7:
	ldr	x21, [x21, _out_buffer@GOTPAGEOFF]
	add	x1, sp, #15
	mov	x0, x21
	mov	w2, #1
	bl	_buffer_write
	cmp	w19, #10
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x21]
	cmp	w8, #1024
	b.lt	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_fileno
	ldp	w2, w1, [x21]
	bl	_sec_write
	str	wzr, [x21]
LBB0_5:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_data_prot,8,3                  ; @data_prot
	.comm	_prot_clear,8,3                 ; @prot_clear
	.comm	_out_buffer,8,2                 ; @out_buffer
.subsections_via_symbols
