	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_normal
_insert_normal:                         ## @insert_normal
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movl	%ecx, %ebx
	leal	-1(%r12), %ecx
	movl	$1, %r13d
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %r13
	cmpl	$1, %r9d
	jb	LBB0_15
## %bb.1:
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %eax
	cmpl	$33, %eax
	jae	LBB0_17
## %bb.2:
	movl	%edx, %r15d
	movl	24(%rbp), %ecx
	movq	(%rdi), %rdx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	cmpq	8(%rdi), %rdx
	movl	%eax, %r14d
	cmovll	%ecx, %r14d
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	cmovnel	%eax, %r14d
	cmpl	%ecx, %eax
	cmovbel	%eax, %r14d
	leaq	-1(,%r13), %rbx
	addq	%r13, %rbx
	movq	_CGEN_IFLD_SIGN_OPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_CGEN_BOOL_ATTR
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	negq	%r13
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	setg	%al
	cmpq	%rsi, %rbx
	setb	%cl
	testb	%cl, %al
	jne	LBB0_5
## %bb.4:
	cmpq	%rsi, %r13
	jle	LBB0_14
LBB0_5:
	leaq	L_.str(%rip), %rdi
	movq	%rsi, %r15
	callq	__
	leaq	_insert_normal.errbuf(%rip), %r14
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%r15, %rdx
	movq	%r13, %rcx
	movq	%rbx, %r8
LBB0_6:
	xorl	%eax, %eax
	callq	_sprintf
	jmp	LBB0_16
LBB0_7:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	_CGEN_IFLD_SIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_CGEN_BOOL_ATTR
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_cgen_signed_overflow_ok_p
	testl	%eax, %eax
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	jne	LBB0_14
## %bb.11:
	movq	%r13, %rbx
	negq	%rbx
	cmpq	%rsi, %rbx
	jg	LBB0_13
## %bb.12:
	cmpq	%rsi, %r13
	jg	LBB0_14
LBB0_13:
	decq	%r13
	leaq	L_.str.2(%rip), %rdi
	movq	%rsi, %r15
	callq	__
	leaq	_insert_normal.errbuf(%rip), %r14
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	movq	%r13, %r8
	jmp	LBB0_6
LBB0_8:
	movabsq	$-4294967297, %rax              ## imm = 0xFFFFFFFEFFFFFFFF
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	cmpq	%rax, %rsi
	movl	%esi, %ebx
	cmovbeq	%rsi, %rbx
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	cmpq	%r13, %rbx
	jbe	LBB0_14
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	leaq	_insert_normal.errbuf(%rip), %r14
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_sprintf
	jmp	LBB0_16
LBB0_14:
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	shrl	$3, %r9d
	addq	32(%rbp), %r9
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%r14d, %r8d
	callq	_insert_1
LBB0_15:
	xorl	%r14d, %r14d
LBB0_16:
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_insert_normal.errbuf,100,4 ## @insert_normal.errbuf
	.comm	_CGEN_IFLD_SIGN_OPT,4,2         ## @CGEN_IFLD_SIGN_OPT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"operand out of range (%ld not between %ld and %lu)"

	.comm	_CGEN_IFLD_SIGNED,4,2           ## @CGEN_IFLD_SIGNED
L_.str.1:                               ## @.str.1
	.asciz	"operand out of range (0x%lx not between 0 and 0x%lx)"

L_.str.2:                               ## @.str.2
	.asciz	"operand out of range (%ld not between %ld and %ld)"

	.comm	_CGEN_INSN_LSB0_P,8,3           ## @CGEN_INSN_LSB0_P
	.no_dead_strip	_insert_normal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_normal
_insert_normal:                         ; @insert_normal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cbz	w5, LBB0_15
; %bb.1:
	cmp	w6, #33
	b.hs	LBB0_17
; %bb.2:
	mov	x20, x5
	mov	x21, x4
	mov	x23, x3
	mov	x26, x2
	mov	x19, x1
	mov	x22, x0
	sub	w8, w5, #1
	mov	w24, #1
	lsl	x28, x24, x8
	sub	x27, x28, #1
	bfi	x24, x27, #1, #63
	ldp	x8, x9, [x0]
	cmp	x8, x9
	ccmp	w3, #0, #0, lt
	ccmp	w6, w7, #0, eq
	csel	w25, w7, w6, hi
Lloh0:
	adrp	x8, _CGEN_IFLD_SIGN_OPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CGEN_IFLD_SIGN_OPT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_CGEN_BOOL_ATTR
	cbz	x0, LBB0_6
; %bb.3:
	neg	x26, x28
	cmp	x24, x19
	ccmp	x19, #0, #4, lo
	b.gt	LBB0_5
; %bb.4:
	cmp	x26, x19
	b.le	LBB0_14
LBB0_5:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	str	x24, [sp]
Lloh5:
	adrp	x20, _insert_normal.errbuf@PAGE
Lloh6:
	add	x20, x20, _insert_normal.errbuf@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x26
	bl	_sprintf
	b	LBB0_16
LBB0_6:
Lloh7:
	adrp	x8, _CGEN_IFLD_SIGNED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CGEN_IFLD_SIGNED@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_CGEN_BOOL_ATTR
	cbz	x0, LBB0_11
; %bb.7:
	mov	x0, x22
	bl	_cgen_signed_overflow_ok_p
	cbnz	w0, LBB0_14
; %bb.8:
	neg	x24, x28
	cmp	x24, x19
	b.gt	LBB0_10
; %bb.9:
	cmp	x28, x19
	b.gt	LBB0_14
LBB0_10:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x1, x0
	str	x27, [sp]
Lloh12:
	adrp	x20, _insert_normal.errbuf@PAGE
Lloh13:
	add	x20, x20, _insert_normal.errbuf@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	b	LBB0_13
LBB0_11:
	and	x8, x19, #0xffffffff
	mov	x9, #-4294967297
	cmp	x19, x9
	csel	x26, x8, x19, hi
	cmp	x26, x24
	b.ls	LBB0_14
; %bb.12:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x0
Lloh16:
	adrp	x20, _insert_normal.errbuf@PAGE
Lloh17:
	add	x20, x20, _insert_normal.errbuf@PAGEOFF
	mov	x0, x20
	mov	x2, x26
LBB0_13:
	mov	x3, x24
	bl	_sprintf
	b	LBB0_16
LBB0_14:
	ldr	x8, [x29, #16]
	lsr	w9, w23, #3
	add	x5, x8, x9
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	mov	x4, x25
	bl	_insert_1
LBB0_15:
	mov	x20, #0
LBB0_16:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_17:
	bl	_abort
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_insert_normal.errbuf,100,0 ; @insert_normal.errbuf
	.comm	_CGEN_IFLD_SIGN_OPT,4,2         ; @CGEN_IFLD_SIGN_OPT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"operand out of range (%ld not between %ld and %lu)"

	.comm	_CGEN_IFLD_SIGNED,4,2           ; @CGEN_IFLD_SIGNED
l_.str.1:                               ; @.str.1
	.asciz	"operand out of range (0x%lx not between 0 and 0x%lx)"

l_.str.2:                               ; @.str.2
	.asciz	"operand out of range (%ld not between %ld and %ld)"

	.comm	_CGEN_INSN_LSB0_P,8,3           ; @CGEN_INSN_LSB0_P
	.no_dead_strip	_insert_normal
.subsections_via_symbols
