	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_settell                        ## -- Begin function settell
	.p2align	4, 0x90
_settell:                               ## @settell
	.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	_cantell@GOTPCREL(%rip), %r14
	movl	$0, (%r14)
	movq	_arginp@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.1:
	movq	_onelflg@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.2:
	movq	_intty@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.3:
	movq	_SHIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_L_INCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_lseek
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	movl	$2, %edi
	movl	$8, %esi
	callq	_xcalloc
	movq	_fbuf@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	movq	_fblocks@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_BUFSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	callq	_xcalloc
	movq	(%r15), %rcx
	movq	%rax, (%rcx)
	movq	_feobp@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movq	_fbobp@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movq	_fseekp@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movl	$1, (%r14)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cantell,4,2                    ## @cantell
	.comm	_arginp,8,3                     ## @arginp
	.comm	_onelflg,8,3                    ## @onelflg
	.comm	_intty,8,3                      ## @intty
	.comm	_SHIN,4,2                       ## @SHIN
	.comm	_L_INCR,4,2                     ## @L_INCR
	.comm	_fbuf,8,3                       ## @fbuf
	.comm	_fblocks,4,2                    ## @fblocks
	.comm	_BUFSIZE,4,2                    ## @BUFSIZE
	.comm	_feobp,4,2                      ## @feobp
	.comm	_fbobp,4,2                      ## @fbobp
	.comm	_fseekp,4,2                     ## @fseekp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_settell                        ; -- Begin function settell
	.p2align	2
_settell:                               ; @settell
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x20, _cantell@GOTPAGE
Lloh1:
	ldr	x20, [x20, _cantell@GOTPAGEOFF]
	str	wzr, [x20]
Lloh2:
	adrp	x8, _arginp@GOTPAGE
Lloh3:
	ldr	x8, [x8, _arginp@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _onelflg@GOTPAGE
Lloh6:
	ldr	x9, [x9, _onelflg@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _intty@GOTPAGE
Lloh9:
	ldr	x10, [x10, _intty@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x8, #0
	ccmp	x9, #0, #0, eq
	ccmp	x10, #0, #0, eq
	b.ne	LBB0_3
; %bb.1:
Lloh11:
	adrp	x8, _SHIN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SHIN@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _L_INCR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _L_INCR@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_lseek
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.2:
	mov	x19, x0
	mov	w0, #2
	mov	w1, #8
	bl	_xcalloc
Lloh17:
	adrp	x21, _fbuf@GOTPAGE
Lloh18:
	ldr	x21, [x21, _fbuf@GOTPAGEOFF]
Lloh19:
	adrp	x8, _fblocks@GOTPAGE
Lloh20:
	ldr	x8, [x8, _fblocks@GOTPAGEOFF]
	str	x0, [x21]
	mov	w22, #1
Lloh21:
	str	w22, [x8]
Lloh22:
	adrp	x8, _BUFSIZE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BUFSIZE@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	mov	w1, #4
	bl	_xcalloc
	ldr	x8, [x21]
	str	x0, [x8]
Lloh25:
	adrp	x8, _feobp@GOTPAGE
Lloh26:
	ldr	x8, [x8, _feobp@GOTPAGEOFF]
Lloh27:
	adrp	x9, _fbobp@GOTPAGE
Lloh28:
	ldr	x9, [x9, _fbobp@GOTPAGEOFF]
Lloh29:
	str	w19, [x8]
Lloh30:
	str	w19, [x9]
Lloh31:
	adrp	x8, _fseekp@GOTPAGE
Lloh32:
	ldr	x8, [x8, _fseekp@GOTPAGEOFF]
Lloh33:
	str	w19, [x8]
	str	w22, [x20]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh30
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh29
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_cantell,4,2                    ; @cantell
	.comm	_arginp,8,3                     ; @arginp
	.comm	_onelflg,8,3                    ; @onelflg
	.comm	_intty,8,3                      ; @intty
	.comm	_SHIN,4,2                       ; @SHIN
	.comm	_L_INCR,4,2                     ; @L_INCR
	.comm	_fbuf,8,3                       ; @fbuf
	.comm	_fblocks,4,2                    ; @fblocks
	.comm	_BUFSIZE,4,2                    ; @BUFSIZE
	.comm	_feobp,4,2                      ; @feobp
	.comm	_fbobp,4,2                      ; @fbobp
	.comm	_fseekp,4,2                     ; @fseekp
.subsections_via_symbols
