	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flags_alloc                    ## -- Begin function flags_alloc
	.p2align	4, 0x90
_flags_alloc:                           ## @flags_alloc
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_opcode2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%esi, %rbx
	movl	(%rax,%rbx,4), %eax
	cmpl	$9, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$8, %eax
	jne	LBB0_5
## %bb.2:
	movq	_SR@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_alloc_reg
	jmp	LBB0_4
LBB0_3:
	movq	_SR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_alloc_reg
	movq	_rt1@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	leaq	(,%rbx,4), %r15
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_alloc_reg
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_clear_const
	addq	(%r12), %r15
LBB0_4:
	movl	(%r15), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dirty_reg                      ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_opcode2,8,3                    ## @opcode2
	.comm	_SR,4,2                         ## @SR
	.comm	_rt1,8,3                        ## @rt1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flags_alloc                    ; -- Begin function flags_alloc
	.p2align	2
_flags_alloc:                           ; @flags_alloc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _opcode2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _opcode2@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, w1, sxtw #2]
	cmp	w8, #9
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #8
	b.ne	LBB0_5
; %bb.2:
Lloh3:
	adrp	x21, _SR@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SR@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	b	LBB0_4
LBB0_3:
	sxtw	x21, w20
Lloh5:
	adrp	x8, _SR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SR@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
Lloh8:
	adrp	x22, _rt1@GOTPAGE
Lloh9:
	ldr	x22, [x22, _rt1@GOTPAGEOFF]
	ldr	x8, [x22]
	lsl	x21, x21, #2
	ldr	w2, [x8, x21]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	ldr	x8, [x22]
	ldr	w1, [x8, x21]
	mov	x0, x19
	bl	_clear_const
	ldr	x8, [x22]
	add	x21, x8, x21
LBB0_4:
	ldr	w1, [x21]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dirty_reg
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_opcode2,8,3                    ; @opcode2
	.comm	_SR,4,2                         ; @SR
	.comm	_rt1,8,3                        ; @rt1
.subsections_via_symbols
