	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pullup_submit_field            ## -- Begin function pullup_submit_field
	.p2align	4, 0x90
_pullup_submit_field:                   ## @pullup_submit_field
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_pullup_check_field_queue
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpl	%r14d, (%rax)
	je	LBB0_5
LBB0_2:
	movq	(%r15), %rbx
	movl	%r14d, (%rbx)
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_pullup_lock_buffer
	movl	%eax, 64(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rbx)
	movq	$0, 56(%rbx)
	movq	24(%rbx), %rax
	movq	24(%rax), %rcx
	movl	32(%r15), %r9d
	movl	32(%rbx), %eax
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	movl	%r14d, %r8d
	callq	_pullup_compute_metric
	testl	%r14d, %r14d
	movq	24(%rbx), %rcx
	movq	%rcx, %rsi
	cmoveq	%rbx, %rsi
	cmovneq	%rbx, %rcx
	movl	28(%r15), %r9d
	movl	20(%rbx), %eax
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$1, %r8d
	callq	_pullup_compute_metric
	movl	24(%r15), %r9d
	movl	16(%rbx), %eax
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	movq	%rbx, %rcx
	movl	$-1, %r8d
	callq	_pullup_compute_metric
	cmpq	$0, 16(%r15)
	movq	(%r15), %rax
	jne	LBB0_4
## %bb.3:
	movq	%rax, 16(%r15)
LBB0_4:
	movq	%rax, 8(%r15)
	movq	8(%rax), %rax
	movq	%rax, (%r15)
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pullup_submit_field            ; -- Begin function pullup_submit_field
	.p2align	2
_pullup_submit_field:                   ; @pullup_submit_field
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_pullup_check_field_queue
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x8]
	cmp	w8, w20
	b.eq	LBB0_5
LBB0_2:
	ldr	x22, [x19]
	str	w20, [x22]
	mov	x0, x21
	mov	x1, x20
	bl	_pullup_lock_buffer
	str	w0, [x22, #64]
	stp	xzr, xzr, [x22, #48]
	str	xzr, [x22, #40]
	ldr	x8, [x22, #24]
	ldr	x3, [x8, #24]
	ldr	w5, [x19, #32]
	ldr	w6, [x22, #32]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x4, x20
	bl	_pullup_compute_metric
	ldr	x8, [x22, #24]
	cmp	w20, #0
	csel	x1, x22, x8, eq
	csel	x3, x8, x22, eq
	ldr	w5, [x19, #28]
	ldr	w6, [x22, #20]
	mov	x0, x19
	mov	w2, #0
	mov	w4, #1
	bl	_pullup_compute_metric
	ldr	w5, [x19, #24]
	ldr	w6, [x22, #16]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x3, x22
	mov	w4, #-1
	bl	_pullup_compute_metric
	ldr	x9, [x19, #16]
	ldr	x8, [x19]
	cbnz	x9, LBB0_4
; %bb.3:
	str	x8, [x19, #16]
LBB0_4:
	ldr	x9, [x8, #8]
	stp	x9, x8, [x19]
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
