	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_field_end
_find_field_end:                        ## @find_field_end
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$0, -44(%rbp)
	movl	$0, -48(%rbp)
	movq	(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	cmpq	$0, 8(%r15)
	je	LBB0_3
## %bb.6:
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	callq	_skip_fields_to_start
	movq	%rax, %rbx
	jmp	LBB0_7
LBB0_3:
	incq	%rsi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	callq	_skip_fields_to_start
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	_sort_opts_vals@GOTPCREL(%rip), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_7
## %bb.5:
	movq	(%rax), %r13
	leaq	-1(%rbx), %r12
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_BWS_GET
	cmpq	%rax, %r13
	cmoveq	%r12, %rbx
LBB0_7:
	cmpl	$0, -44(%rbp)
	jne	LBB0_1
## %bb.8:
	movq	%r14, %rdi
	callq	_BWSLEN
	cmpq	%rax, %rbx
	jae	LBB0_1
## %bb.9:
	movq	8(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.10:
	movl	16(%r15), %ecx
	leaq	-48(%rbp), %r8
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_skip_cols_to_start
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_BWSLEN
	cmpq	%rax, %rbx
	adcq	$0, %rbx
	jmp	LBB0_11
LBB0_1:
	movq	%r14, %rdi
	callq	_BWSLEN
	movq	%rax, %rbx
	incq	%rbx
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sort_opts_vals,16,3            ## @sort_opts_vals
	.no_dead_strip	_find_field_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_field_end
_find_field_end:                        ; @find_field_end
	.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
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	x1, [x1]
	cbz	x1, LBB0_9
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.2:
	add	x2, sp, #12
	mov	x0, x19
	bl	_skip_fields_to_start
	mov	x21, x0
	b	LBB0_5
LBB0_3:
	add	x1, x1, #1
	add	x2, sp, #12
	mov	x0, x19
	bl	_skip_fields_to_start
	mov	x21, x0
Lloh0:
	adrp	x8, _sort_opts_vals@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sort_opts_vals@GOTPAGEOFF]
	ldr	x9, [x8, #8]
	cmp	x0, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_5
; %bb.4:
	ldr	x23, [x8]
	sub	x22, x21, #1
	mov	x0, x19
	mov	x1, x22
	bl	_BWS_GET
	cmp	x23, x0
	csel	x21, x22, x21, eq
LBB0_5:
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_BWSLEN
	cmp	x21, x0
	b.hs	LBB0_9
; %bb.7:
	ldr	x1, [x20, #8]
	cbz	x1, LBB0_10
; %bb.8:
	ldr	w3, [x20, #16]
	add	x4, sp, #8
	mov	x0, x19
	mov	x2, x21
	bl	_skip_cols_to_start
	mov	x20, x0
	mov	x0, x19
	bl	_BWSLEN
	cmp	x20, x0
	cinc	x21, x20, lo
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_BWSLEN
	add	x21, x0, #1
LBB0_10:
	mov	x0, x21
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_sort_opts_vals,16,3            ; @sort_opts_vals
	.no_dead_strip	_find_field_end
.subsections_via_symbols
