	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_free_bundle_state
_get_free_bundle_state:                 ## @get_free_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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_free_bundle_state_chain@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	24(%rbx), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_3
LBB0_2:
	movl	$32, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movq	_dfa_state_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_xmalloc
	movq	%rax, 16(%rbx)
	movq	_allocated_bundle_states_chain@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, 8(%rbx)
	movq	%rbx, (%rax)
LBB0_3:
	movq	_bundle_states_num@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	movq	%rcx, (%rbx)
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_free_bundle_state_chain,8,3    ## @free_bundle_state_chain
	.comm	_dfa_state_size,4,2             ## @dfa_state_size
	.comm	_allocated_bundle_states_chain,8,3 ## @allocated_bundle_states_chain
	.comm	_bundle_states_num,4,2          ## @bundle_states_num
	.no_dead_strip	_get_free_bundle_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_free_bundle_state
_get_free_bundle_state:                 ; @get_free_bundle_state
	.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
Lloh0:
	adrp	x8, _free_bundle_state_chain@GOTPAGE
Lloh1:
	ldr	x8, [x8, _free_bundle_state_chain@GOTPAGEOFF]
	ldr	x19, [x8]
	cbz	x19, LBB0_2
; %bb.1:
	ldr	x9, [x19, #24]
	str	x9, [x8]
	b	LBB0_3
LBB0_2:
	mov	w0, #32
	bl	_xmalloc
	mov	x19, x0
Lloh2:
	adrp	x8, _dfa_state_size@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dfa_state_size@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_xmalloc
Lloh5:
	adrp	x8, _allocated_bundle_states_chain@GOTPAGE
Lloh6:
	ldr	x8, [x8, _allocated_bundle_states_chain@GOTPAGEOFF]
	ldr	x9, [x8]
	stp	x9, x0, [x19, #8]
	str	x19, [x8]
LBB0_3:
Lloh7:
	adrp	x8, _bundle_states_num@GOTPAGE
Lloh8:
	ldr	x8, [x8, _bundle_states_num@GOTPAGEOFF]
	ldrsw	x9, [x8]
	add	w10, w9, #1
	str	w10, [x8]
	str	x9, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_free_bundle_state_chain,8,3    ; @free_bundle_state_chain
	.comm	_dfa_state_size,4,2             ; @dfa_state_size
	.comm	_allocated_bundle_states_chain,8,3 ; @allocated_bundle_states_chain
	.comm	_bundle_states_num,4,2          ; @bundle_states_num
	.no_dead_strip	_get_free_bundle_state
.subsections_via_symbols
