	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function if_sort
_if_sort:                               ## @if_sort
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_LINE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$95, %esi
	callq	_strchr
	testq	%rax, %rax
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movl	%eax, %r12d
	subl	%ebx, %r12d
	incq	%rax
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %r12d
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	$95, %esi
	callq	_strchr
	testq	%rax, %rax
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.4:
	movq	%rax, %r15
	movq	%r13, %rax
	movl	%r15d, %r13d
	subl	%eax, %r13d
	incq	%r15
	jmp	LBB0_6
LBB0_5:
	movq	%r13, %rdi
	callq	_strlen
	movl	%eax, %r13d
	xorl	%r15d, %r15d
LBB0_6:
	movslq	%r12d, %rbx
	cmpq	%r14, %rbx
	movq	%r14, %rdx
	cmovaq	%rbx, %rdx
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strncpy
	movb	$0, (%r12,%rbx)
	movslq	%r13d, %r13
	cmpq	%r14, %r13
	cmovaq	%r13, %r14
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_strncpy
	movb	$0, (%rbx,%r13)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_strcmp
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_LINE_SIZE,4,2              ## @MAX_LINE_SIZE
	.no_dead_strip	_if_sort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function if_sort
_if_sort:                               ; @if_sort
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_LINE_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_LINE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x12, x9, #0x1fffffff0
	sub	x20, x8, x12
	mov	sp, x20
	mov	x9, x21
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x12
	mov	sp, x22
	mov	w1, #95
	bl	_strchr
	cbz	x0, LBB0_2
; %bb.1:
	sub	w25, w0, w23
	add	x24, x0, #1
	b	LBB0_3
LBB0_2:
	mov	x0, x23
	bl	_strlen
	mov	x25, x0
	mov	x24, #0
LBB0_3:
	mov	x0, x19
	mov	w1, #95
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.4:
	sub	w27, w0, w19
	add	x26, x0, #1
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_strlen
	mov	x27, x0
	mov	x26, #0
LBB0_6:
	sxtw	x25, w25
	cmp	x25, x21
	csel	x2, x25, x21, hi
	mov	x0, x20
	mov	x1, x23
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_strncpy
	strb	wzr, [x20, x25]
	sxtw	x23, w27
	cmp	x23, x21
	csel	x2, x23, x21, hi
	mov	x0, x22
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_strncpy
	strb	wzr, [x22, x23]
	mov	x0, x20
	mov	x1, x22
	bl	_strcmp
	cbnz	w0, LBB0_8
; %bb.7:
	mov	x0, x24
	mov	x1, x26
	bl	_strcmp
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_LINE_SIZE,4,2              ; @MAX_LINE_SIZE
	.no_dead_strip	_if_sort
.subsections_via_symbols
