	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_bundle_state
_insert_bundle_state:                   ## @insert_bundle_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_bundle_state_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_htab_find_slot
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	8(%rcx), %rdx
	cmpq	%rdx, 8(%rbx)
	jl	LBB0_7
## %bb.3:
	movq	_FALSE@GOTPCREL(%rip), %rdx
	jne	LBB0_8
## %bb.4:
	movq	16(%rbx), %rsi
	cmpq	%rsi, 16(%rcx)
	jg	LBB0_7
## %bb.5:
	jne	LBB0_8
## %bb.6:
	movq	24(%rcx), %rsi
	cmpq	24(%rbx), %rsi
	jle	LBB0_8
LBB0_7:
	movups	(%rcx), %xmm0
	movups	16(%rcx), %xmm1
	movaps	%xmm1, -32(%rbp)
	movaps	%xmm0, -48(%rbp)
	movq	32(%rcx), %rdx
	movq	32(%rbx), %rsi
	movq	%rsi, 32(%rcx)
	movups	(%rbx), %xmm0
	movups	16(%rbx), %xmm1
	movups	%xmm0, (%rcx)
	movups	%xmm1, 16(%rcx)
	movq	(%rax), %rax
	movq	%rdx, 32(%rax)
	movaps	-48(%rbp), %xmm0
	movaps	-32(%rbp), %xmm1
	movups	%xmm1, 16(%rbx)
	movups	%xmm0, (%rbx)
	movq	%rdx, 32(%rbx)
	movq	_FALSE@GOTPCREL(%rip), %rdx
	jmp	LBB0_8
LBB0_1:
	movq	_index_to_bundle_states@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rbx), %rdx
	movq	(%rcx,%rdx,8), %rsi
	movq	%rsi, 32(%rbx)
	movq	%rbx, (%rcx,%rdx,8)
	movq	%rbx, (%rax)
	movq	_TRUE@GOTPCREL(%rip), %rdx
LBB0_8:
	movl	(%rdx), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bundle_state_table,4,2         ## @bundle_state_table
	.comm	_index_to_bundle_states,8,3     ## @index_to_bundle_states
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_insert_bundle_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_bundle_state
_insert_bundle_state:                   ; @insert_bundle_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _bundle_state_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bundle_state_table@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	mov	w2, #1
	bl	_htab_find_slot
	ldr	x8, [x0]
	cbz	x8, LBB0_8
; %bb.1:
	ldr	x9, [x19, #8]
	ldr	x10, [x8, #8]
	cmp	x9, x10
	b.lt	LBB0_6
; %bb.2:
	b.ne	LBB0_7
; %bb.3:
	ldr	x9, [x8, #16]
	ldr	x10, [x19, #16]
	cmp	x9, x10
	b.gt	LBB0_6
; %bb.4:
	b.ne	LBB0_7
; %bb.5:
	ldr	x9, [x8, #24]
	ldr	x10, [x19, #24]
	cmp	x9, x10
	b.le	LBB0_7
LBB0_6:
	ldp	q1, q0, [x8]
	ldr	x9, [x8, #32]
	ldp	q3, q2, [x19]
	ldr	x10, [x19, #32]
	str	x10, [x8, #32]
	stp	q3, q2, [x8]
	ldr	x8, [x0]
	str	x9, [x8, #32]
	stp	q1, q0, [x19]
	str	x9, [x19, #32]
LBB0_7:
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _index_to_bundle_states@GOTPAGE
Lloh6:
	ldr	x8, [x8, _index_to_bundle_states@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x19]
	lsl	x9, x9, #3
	ldr	x10, [x8, x9]
	str	x10, [x19, #32]
	str	x19, [x8, x9]
	str	x19, [x0]
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_bundle_state_table,4,2         ; @bundle_state_table
	.comm	_index_to_bundle_states,8,3     ; @index_to_bundle_states
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_insert_bundle_state
.subsections_via_symbols
