	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sidtab_insert                  ## -- Begin function sidtab_insert
	.p2align	4, 0x90
_sidtab_insert:                         ## @sidtab_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	%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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_SIDTAB_HASH
	movq	16(%r14), %rcx
	movslq	%eax, %rdx
	movq	(%rcx,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:
	movq	(%rax), %rcx
	cmpq	%rbx, %rcx
	jge	LBB0_9
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r13
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%rax), %rcx
	cmpq	%rbx, %rcx
	jl	LBB0_10
## %bb.12:
	cmpq	%rbx, %rcx
	je	LBB0_13
	jmp	LBB0_5
LBB0_4:
	xorl	%r13d, %r13d
	jmp	LBB0_5
LBB0_9:
	xorl	%r13d, %r13d
	cmpq	%rbx, %rcx
	jne	LBB0_5
LBB0_13:
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_5:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	%rax, %r12
	movq	%rbx, (%rax)
	movq	%rax, %rdi
	addq	$16, %rdi
	movq	%r15, %rsi
	callq	_context_cpy
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:
	movq	%r12, %rdi
	callq	_kfree
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	testq	%r13, %r13
	je	LBB0_16
## %bb.15:
	movq	8(%r13), %rax
	addq	$8, %r13
	movq	%rax, 8(%r12)
	xorl	%eax, %eax
	callq	_wmb
	jmp	LBB0_17
LBB0_16:
	movq	16(%r14), %rax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	(%rax,%r13,8), %rax
	shlq	$3, %r13
	movq	%rax, 8(%r12)
	xorl	%eax, %eax
	callq	_wmb
	addq	16(%r14), %r13
LBB0_17:
	movq	%r12, (%r13)
	incl	8(%r14)
	xorl	%eax, %eax
	cmpq	%rbx, (%r14)
	jg	LBB0_19
## %bb.18:
	incq	%rbx
	movq	%rbx, (%r14)
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sidtab_insert                  ; -- Begin function sidtab_insert
	.p2align	2
_sidtab_insert:                         ; @sidtab_insert
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_12
; %bb.1:
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_SIDTAB_HASH
	mov	x21, x0
	ldr	x8, [x19, #16]
	ldr	x9, [x8, w0, sxtw #3]
	cbz	x9, LBB0_6
; %bb.2:
	ldr	x8, [x9]
	cmp	x8, x20
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, x9
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x9]
	cmp	x8, x20
	b.lt	LBB0_3
; %bb.5:
	cmp	x8, x20
	b.eq	LBB0_8
	b	LBB0_9
LBB0_6:
	mov	x24, #0
	b	LBB0_9
LBB0_7:
	mov	x24, #0
	cmp	x8, x20
	b.ne	LBB0_9
LBB0_8:
Lloh0:
	adrp	x8, _EEXIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
Lloh2:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kmalloc
	cbz	x0, LBB0_12
; %bb.10:
	mov	x23, x0
	str	x20, [x0], #16
	mov	x1, x22
	bl	_context_cpy
	cbz	x0, LBB0_15
; %bb.11:
	mov	x0, x23
	bl	_kfree
LBB0_12:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	cbz	x24, LBB0_17
; %bb.16:
	ldr	x8, [x24, #8]!
	str	x8, [x23, #8]
	bl	_wmb
	b	LBB0_18
LBB0_17:
	sxtw	x8, w21
	ldr	x9, [x19, #16]
	lsl	x21, x8, #3
	ldr	x8, [x9, x21]
	str	x8, [x23, #8]
	bl	_wmb
	ldr	x8, [x19, #16]
	add	x24, x8, x21
LBB0_18:
	str	x23, [x24]
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	ldr	x8, [x19]
	cmp	x8, x20
	b.le	LBB0_20
; %bb.19:
	mov	w0, #0
	b	LBB0_14
LBB0_20:
	mov	w0, #0
	add	x8, x20, #1
	str	x8, [x19]
	b	LBB0_14
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
.subsections_via_symbols
