	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OPENSSL_LH_insert              ## -- Begin function OPENSSL_LH_insert
	.p2align	4, 0x90
_OPENSSL_LH_insert:                     ## @OPENSSL_LH_insert
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	$0, 24(%rdi)
	movl	(%rdi), %ecx
	movq	_LH_LOAD_MULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	4(%rdi), %eax
	cltd
	idivl	8(%rdi)
	cmpl	%eax, %ecx
	jg	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_expand
	testl	%eax, %eax
	je	LBB0_8
LBB0_2:
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_getrn
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movq	8(%rcx), %rax
	movq	%r14, 8(%rcx)
	incl	12(%rbx)
	jmp	LBB0_9
LBB0_4:
	movq	%rax, %r15
	movl	$24, %edi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%r14, 8(%rax)
	movq	$0, 16(%rax)
	movq	-32(%rbp), %rcx
	movq	%rcx, (%rax)
	movq	%rax, (%r15)
	incl	16(%rbx)
	incl	4(%rbx)
	jmp	LBB0_8
LBB0_7:
	incq	24(%rbx)
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LH_LOAD_MULT,4,2               ## @LH_LOAD_MULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OPENSSL_LH_insert              ; -- Begin function OPENSSL_LH_insert
	.p2align	2
_OPENSSL_LH_insert:                     ; @OPENSSL_LH_insert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x19, x0
	str	xzr, [x0, #24]
Lloh0:
	adrp	x8, _LH_LOAD_MULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LH_LOAD_MULT@GOTPAGEOFF]
	ldp	w9, w10, [x0]
Lloh2:
	ldr	w8, [x8]
	mul	w8, w8, w10
	ldr	w10, [x0, #8]
	sdiv	w8, w8, w10
	cmp	w9, w8
	b.gt	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_expand
	cbz	w0, LBB0_6
LBB0_2:
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_getrn
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x0, [x8, #8]
	str	x20, [x8, #8]
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	b	LBB0_8
LBB0_4:
	mov	x21, x0
	mov	w0, #24
	bl	_OPENSSL_malloc
	cbz	x0, LBB0_7
; %bb.5:
	mov	x8, x0
	mov	x0, #0
	stp	x20, xzr, [x8, #8]
	ldr	x9, [sp, #8]
	str	x9, [x8]
	str	x8, [x21]
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	b	LBB0_8
LBB0_6:
	mov	x0, #0
	b	LBB0_8
LBB0_7:
	ldr	x8, [x19, #24]
	add	x8, x8, #1
	str	x8, [x19, #24]
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LH_LOAD_MULT,4,2               ; @LH_LOAD_MULT
.subsections_via_symbols
