	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Insert_Field_By_Position
_Insert_Field_By_Position:              ## @Insert_Field_By_Position
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_assert
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.1:
	movq	(%r14), %rdx
	xorl	%eax, %eax
	movq	%rbx, %rcx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rcx), %rcx
	cmpq	%rbx, %rcx
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, (%rcx)
	jl	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rcx), %rsi
	cmpq	8(%r14), %rsi
	jl	LBB0_2
LBB0_9:
	movq	%rbx, %rax
	jmp	LBB0_10
LBB0_7:
	movq	%r14, 24(%r14)
	movq	%r14, 16(%r14)
	jmp	LBB0_11
LBB0_8:
	movq	%rbx, %rcx
LBB0_10:
	movq	%rcx, 16(%r14)
	movq	24(%rcx), %rdx
	movq	%rdx, 24(%r14)
	movq	%r14, 24(%rcx)
	movq	24(%r14), %rdx
	movq	%r14, 16(%rdx)
	cmpq	%rax, %rcx
	cmovneq	%rbx, %r14
LBB0_11:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_Insert_Field_By_Position
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Insert_Field_By_Position
_Insert_Field_By_Position:              ; @Insert_Field_By_Position
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_assert
	cbz	x20, LBB0_7
; %bb.1:
	ldr	x9, [x19]
	mov	x8, x20
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #16]
	cmp	x8, x20
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	cmp	x10, x9
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x8, #8]
	ldr	x11, [x19, #8]
	cmp	x10, x11
	b.lt	LBB0_2
LBB0_6:
	mov	x9, x20
	b	LBB0_9
LBB0_7:
	stp	x19, x19, [x19, #16]
	b	LBB0_10
LBB0_8:
	mov	x9, #0
	mov	x8, x20
LBB0_9:
	ldr	x10, [x8, #24]
	stp	x8, x10, [x19, #16]
	str	x19, [x8, #24]
	ldr	x10, [x19, #24]
	str	x19, [x10, #16]
	cmp	x8, x9
	csel	x19, x19, x20, eq
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_Insert_Field_By_Position
.subsections_via_symbols
