	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function soelim_file
_soelim_file:                           ## @soelim_file
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	$0, -48(%rbp)
	movq	$0, -64(%rbp)
	movl	$1, %eax
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.1:
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_getline
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	movl	%eax, %r13d
	leaq	-64(%rbp), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
	movq	-48(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$3, %edx
	callq	_strncmp
	movq	-48(%rbp), %r12
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movsbl	3(%r12), %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_9
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movq	_C_OPTION@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$2, %r12
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	1(%r12), %edi
	incq	%r12
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movb	(%r12), %al
	movq	%r12, %r14
	testb	%al, %al
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %r14
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movzbl	1(%r14), %eax
	incq	%r14
	testb	%al, %al
	jne	LBB0_13
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	$0, (%r14)
	movq	-48(%rbp), %rsi
	movslq	%r13d, %rax
	addq	%rsi, %rax
	cmpq	%rax, %r14
	adcq	$0, %r14
	cmpb	$0, (%r12)
	je	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_soelim_fopen
	movq	%rax, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_soelim_file
	cmpl	$1, %eax
	je	LBB0_17
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, (%r14)
	je	LBB0_6
## %bb.23:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	jmp	LBB0_5
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rsi
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rdi
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	_printf
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_getline
	movl	%eax, %r13d
	testl	%eax, %eax
	jg	LBB0_3
LBB0_7:
	movq	-48(%rbp), %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_fclose
	xorl	%eax, %eax
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	-48(%rbp), %rdi
	callq	_free
	movl	$1, %eax
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".so"

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

	.comm	_C_OPTION,4,2                   ## @C_OPTION
	.no_dead_strip	_soelim_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function soelim_file
_soelim_file:                           ; @soelim_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	stp	xzr, xzr, [sp]
	cbz	x0, LBB0_23
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	x1, sp
	mov	x2, x19
	bl	_getline
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.2:
	mov	x23, x0
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x25, _C_OPTION@GOTPAGE
Lloh3:
	ldr	x25, [x25, _C_OPTION@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x0, [sp, #8]
	mov	x1, x21
	mov	w2, #3
	bl	_strncmp
	ldr	x24, [sp, #8]
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x24
	b	LBB0_19
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrsb	w0, [x24, #3]
	bl	_isspace
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x25]
	tst	w8, w20
	b.eq	LBB0_17
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #2
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x24, #1]!
	bl	_isspace
	cbnz	x0, LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x24]
	mov	x26, x24
	cbz	w8, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x24
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w0, w8
	bl	_isspace
	cbnz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldrb	w8, [x26, #1]!
	cbnz	w8, LBB0_11
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x26
	strb	wzr, [x8], #1
	ldr	x1, [sp, #8]
	add	x9, x1, w23, sxtw
	cmp	x26, x9
	csel	x23, x26, x8, hs
	ldrb	w8, [x24]
	cbz	w8, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	bl	_soelim_fopen
	mov	x1, x20
	bl	_soelim_file
	cmp	w0, #1
	b.eq	LBB0_22
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x23]
	cbz	w8, LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x23
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #8]
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_printf
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	mov	x1, sp
	mov	x2, x19
	bl	_getline
	mov	x23, x0
	cmp	w0, #0
	b.gt	LBB0_3
LBB0_21:
	ldr	x0, [sp, #8]
	bl	_free
	mov	x0, x19
	bl	_fclose
	mov	w0, #0
	b	LBB0_24
LBB0_22:
	ldr	x0, [sp, #8]
	bl	_free
LBB0_23:
	mov	w0, #1
LBB0_24:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".so"

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

	.comm	_C_OPTION,4,2                   ; @C_OPTION
	.no_dead_strip	_soelim_file
.subsections_via_symbols
