	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sort_list_dump                 ## -- Begin function sort_list_dump
	.p2align	4, 0x90
_sort_list_dump:                        ## @sort_list_dump
	.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
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.2:
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_openfile
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	$2, %edi
	xorl	%esi, %esi
	callq	_err
LBB0_4:
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.5:
	movq	_sort_opts_vals@GOTPCREL(%rip), %r14
	cmpl	$0, 4(%r14)
	je	LBB0_6
## %bb.10:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	$0, -56(%rbp)
	cmpq	$0, (%r13)
	je	LBB0_18
## %bb.11:
	movl	$1, %r12d
	xorl	%ecx, %ecx
	leaq	-48(%rbp), %rbx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	-8(%rax,%r12,8), %rax
	movq	%rax, -48(%rbp)
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_list_coll
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-48(%rbp), %rax
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	(%rax), %edi
	movl	(%r14), %edx
	movq	%r15, %rsi
	callq	_bwsfwrite
	movq	-48(%rbp), %rax
	movq	%rax, -56(%rbp)
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpq	(%r13), %r12
	jae	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	8(%r13), %rax
	movq	-56(%rbp), %rcx
	incq	%r12
	jmp	LBB0_12
LBB0_18:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_19:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_closefile
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpq	$0, (%r13)
	je	LBB0_19
## %bb.7:
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movq	%r15, %rsi
	callq	_bwsfwrite
	cmpq	$2, (%r13)
	jb	LBB0_19
## %bb.8:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	movq	%r15, %rsi
	callq	_bwsfwrite
	incq	%rbx
	cmpq	(%r13), %rbx
	jb	LBB0_9
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"w"

	.comm	_sort_opts_vals,8,2             ## @sort_opts_vals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sort_list_dump                 ; -- Begin function sort_list_dump
	.p2align	2
_sort_list_dump:                        ; @sort_list_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x0, LBB0_19
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_19
; %bb.2:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_openfile
	mov	x21, x0
	cbnz	x0, LBB0_4
; %bb.3:
	mov	w0, #2
	mov	x1, #0
	bl	_err
LBB0_4:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_18
; %bb.5:
Lloh2:
	adrp	x22, _sort_opts_vals@GOTPAGE
Lloh3:
	ldr	x22, [x22, _sort_opts_vals@GOTPAGEOFF]
	ldr	w9, [x22, #4]
	cbz	w9, LBB0_14
; %bb.6:
	str	xzr, [sp, #8]
	ldr	x9, [x20]
	cbz	x9, LBB0_18
; %bb.7:
	mov	x9, #0
	mov	x23, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, x23, lsl #3]
	str	x8, [sp]
	cbz	x9, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #8
	mov	x1, sp
	bl	_list_coll
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp]
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x8]
	ldr	w2, [x22]
	mov	x1, x21
	bl	_bwsfwrite
	ldr	x8, [sp]
	str	x8, [sp, #8]
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
	ldr	x8, [x20]
	cmp	x23, x8
	b.hs	LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20, #8]
	ldr	x9, [sp, #8]
	b	LBB0_8
LBB0_14:
	ldr	x9, [x20]
	cbz	x9, LBB0_18
; %bb.15:
	ldr	x8, [x8]
	ldr	w0, [x8]
	ldr	w2, [x22]
	mov	x1, x21
	bl	_bwsfwrite
	ldr	x8, [x20]
	cmp	x8, #2
	b.lo	LBB0_18
; %bb.16:
	mov	w23, #1
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w0, [x8]
	ldr	w2, [x22]
	mov	x1, x21
	bl	_bwsfwrite
	add	x23, x23, #1
	ldr	x8, [x20]
	cmp	x23, x8
	b.lo	LBB0_17
LBB0_18:
	mov	x0, x21
	mov	x1, x19
	bl	_closefile
LBB0_19:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"w"

	.comm	_sort_opts_vals,8,2             ; @sort_opts_vals
.subsections_via_symbols
