	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alu_alloc                      ## -- Begin function alu_alloc
	.p2align	4, 0x90
_alu_alloc:                             ## @alu_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	%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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_opcode@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movslq	%esi, %rbx
	cmpl	$2, (%rax,%rbx,4)
	jne	LBB0_7
## %bb.1:
	movq	_rs1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_alloc_reg
	movq	_rs2@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_alloc_reg
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_clear_const
	movq	_opcode2@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %eax
	addl	$-9, %eax
	cmpl	$2, %eax
	ja	LBB0_3
## %bb.2:
	movq	_rt1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_alloc_reg
	jmp	LBB0_7
LBB0_3:
	movq	_SR@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_alloc_reg
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dirty_reg
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %eax
	cmpl	$8, %eax
	jne	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$-1, %edx
	callq	_alloc_reg_temp
	movq	_minimum_free_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$1, (%rax,%rbx,4)
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %eax
LBB0_5:
	cmpl	$12, %eax
	movq	_opcode@GOTPCREL(%rip), %r12
	jne	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$-1, %edx
	callq	_alloc_reg_temp
	movq	_minimum_free_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$1, (%rax,%rbx,4)
LBB0_7:
	movq	(%r12), %rax
	cmpl	$3, (%rax,%rbx,4)
	jne	LBB0_13
## %bb.8:
	movq	%r12, %r13
	movq	_rs1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_alloc_reg
	movq	_rs2@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	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
	movq	_opcode2@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpl	$7, (%rax,%rbx,4)
	jg	LBB0_10
## %bb.9:
	movq	_SR@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_alloc_reg
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dirty_reg
	movq	%r13, %r12
	jmp	LBB0_12
LBB0_10:
	movq	_rt1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_alloc_reg
	movq	(%r12), %rax
	testb	$3, (%rax,%rbx,4)
	movq	%r13, %r12
	je	LBB0_13
## %bb.11:
	movq	_SR@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_alloc_reg
	movl	(%r12), %esi
	movq	%r13, %r12
	movq	%r14, %rdi
	callq	_dirty_reg
	movq	_opcode2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %eax
	notl	%eax
	testb	$3, %al
	jne	LBB0_13
LBB0_12:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$-1, %edx
	callq	_alloc_reg_temp
	movq	_minimum_free_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$1, (%rax,%rbx,4)
LBB0_13:
	movq	(%r12), %rax
	cmpl	$4, (%rax,%rbx,4)
	jne	LBB0_18
## %bb.14:
	movq	%r12, %r13
	movq	_rs1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_alloc_reg
	movq	_opcode2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax,%rbx,4)
	jne	LBB0_16
## %bb.15:
	movq	_rt1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_dirty_reg
LBB0_16:
	movq	_SR@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_alloc_reg
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dirty_reg
	movq	_opcode2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax,%rbx,4)
	movq	%r13, %r12
	jle	LBB0_18
## %bb.17:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$-1, %edx
	callq	_alloc_reg_temp
	movq	_minimum_free_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$1, (%rax,%rbx,4)
LBB0_18:
	movq	(%r12), %rax
	cmpl	$6, (%rax,%rbx,4)
	jne	LBB0_25
## %bb.19:
	movq	_rs1@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	movl	%r15d, %esi
	callq	_needed_again
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_alloc_reg
LBB0_21:
	movq	_rt1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_alloc_reg
	movq	_opcode2@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %eax
	movl	%eax, %ecx
	andl	$-2, %ecx
	cmpl	$8, %ecx
	jne	LBB0_23
## %bb.22:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	$-1, %edx
	callq	_alloc_reg_temp
	movq	_minimum_free_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$1, (%rax,%rbx,4)
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %eax
LBB0_23:
	cmpl	$10, %eax
	jne	LBB0_25
## %bb.24:
	movq	_SR@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_alloc_reg
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_dirty_reg
LBB0_25:
	movq	_rs1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_clear_const
	movq	_rt1@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_clear_const
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dirty_reg                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_opcode,8,3                     ## @opcode
	.comm	_rs1,8,3                        ## @rs1
	.comm	_rs2,8,3                        ## @rs2
	.comm	_opcode2,8,3                    ## @opcode2
	.comm	_rt1,8,3                        ## @rt1
	.comm	_SR,4,2                         ## @SR
	.comm	_minimum_free_regs,8,3          ## @minimum_free_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alu_alloc                      ; -- Begin function alu_alloc
	.p2align	2
_alu_alloc:                             ; @alu_alloc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x26, _opcode@GOTPAGE
Lloh1:
	ldr	x26, [x26, _opcode@GOTPAGEOFF]
	ldr	x8, [x26]
	sxtw	x25, w20
	ldr	w8, [x8, w1, sxtw #2]
Lloh2:
	adrp	x23, _rs1@GOTPAGE
Lloh3:
	ldr	x23, [x23, _rs1@GOTPAGEOFF]
Lloh4:
	adrp	x27, _rs2@GOTPAGE
Lloh5:
	ldr	x27, [x27, _rs2@GOTPAGEOFF]
	lsl	x21, x25, #2
Lloh6:
	adrp	x24, _opcode2@GOTPAGE
Lloh7:
	ldr	x24, [x24, _opcode2@GOTPAGEOFF]
Lloh8:
	adrp	x22, _rt1@GOTPAGE
Lloh9:
	ldr	x22, [x22, _rt1@GOTPAGEOFF]
	cmp	w8, #2
	b.ne	LBB0_7
; %bb.1:
	ldr	x8, [x23]
	ldr	w2, [x8, x21]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	ldr	x8, [x27]
	ldr	w2, [x8, x21]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	ldr	x8, [x27]
	ldr	w1, [x8, x21]
	mov	x0, x19
	bl	_clear_const
	ldr	x8, [x24]
	ldr	w8, [x8, x21]
	sub	w8, w8, #9
	cmp	w8, #2
	b.hi	LBB0_3
; %bb.2:
	ldr	x8, [x22]
	ldr	w2, [x8, x25, lsl #2]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	b	LBB0_7
LBB0_3:
Lloh10:
	adrp	x28, _SR@GOTPAGE
Lloh11:
	ldr	x28, [x28, _SR@GOTPAGEOFF]
	ldr	w2, [x28]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	ldr	w1, [x28]
	mov	x0, x19
	bl	_dirty_reg
	ldr	x8, [x24]
	ldr	w8, [x8, x25, lsl #2]
	cmp	w8, #8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #-1
	bl	_alloc_reg_temp
Lloh12:
	adrp	x8, _minimum_free_regs@GOTPAGE
Lloh13:
	ldr	x8, [x8, _minimum_free_regs@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	mov	w9, #1
	str	w9, [x8, x21]
	ldr	x8, [x24]
	ldr	w8, [x8, x21]
LBB0_5:
	cmp	w8, #12
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #-1
	bl	_alloc_reg_temp
Lloh15:
	adrp	x8, _minimum_free_regs@GOTPAGE
Lloh16:
	ldr	x8, [x8, _minimum_free_regs@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	mov	w9, #1
	str	w9, [x8, x25, lsl #2]
LBB0_7:
	ldr	x8, [x26]
	ldr	w8, [x8, x25, lsl #2]
	cmp	w8, #3
	b.ne	LBB0_13
; %bb.8:
	ldr	x8, [x23]
	ldr	w2, [x8, x21]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	ldr	x8, [x27]
	ldr	w2, [x8, x21]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	ldr	x8, [x27]
	ldr	w1, [x8, x21]
	mov	x0, x19
	bl	_clear_const
	ldr	x8, [x24]
	ldr	w8, [x8, x21]
	cmp	w8, #7
	b.gt	LBB0_10
; %bb.9:
Lloh18:
	adrp	x27, _SR@GOTPAGE
Lloh19:
	ldr	x27, [x27, _SR@GOTPAGEOFF]
	ldr	w2, [x27]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	ldr	w1, [x27]
	mov	x0, x19
	bl	_dirty_reg
	b	LBB0_12
LBB0_10:
	ldr	x8, [x22]
	ldr	w2, [x8, x21]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	ldr	x8, [x24]
	ldrb	w8, [x8, x21]
	tst	w8, #0x3
	b.eq	LBB0_13
; %bb.11:
Lloh20:
	adrp	x27, _SR@GOTPAGE
Lloh21:
	ldr	x27, [x27, _SR@GOTPAGEOFF]
	ldr	w2, [x27]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	ldr	w1, [x27]
	mov	x0, x19
	bl	_dirty_reg
	ldr	x8, [x24]
	ldr	w8, [x8, x25, lsl #2]
	mvn	w8, w8
	tst	w8, #0x3
	b.ne	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #-1
	bl	_alloc_reg_temp
Lloh22:
	adrp	x8, _minimum_free_regs@GOTPAGE
Lloh23:
	ldr	x8, [x8, _minimum_free_regs@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	mov	w9, #1
	str	w9, [x8, x25, lsl #2]
LBB0_13:
	ldr	x8, [x26]
	ldr	w8, [x8, x25, lsl #2]
	cmp	w8, #4
	b.ne	LBB0_18
; %bb.14:
	ldr	x8, [x23]
	ldr	w2, [x8, x21]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	ldr	x8, [x24]
	ldr	w8, [x8, x21]
	cbnz	w8, LBB0_16
; %bb.15:
	ldr	x8, [x22]
	ldr	w1, [x8, x25, lsl #2]
	mov	x0, x19
	bl	_dirty_reg
LBB0_16:
Lloh25:
	adrp	x27, _SR@GOTPAGE
Lloh26:
	ldr	x27, [x27, _SR@GOTPAGEOFF]
	ldr	w2, [x27]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	ldr	w1, [x27]
	mov	x0, x19
	bl	_dirty_reg
	ldr	x8, [x24]
	ldr	w8, [x8, x25, lsl #2]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.17:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #-1
	bl	_alloc_reg_temp
Lloh27:
	adrp	x8, _minimum_free_regs@GOTPAGE
Lloh28:
	ldr	x8, [x8, _minimum_free_regs@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	mov	w9, #1
	str	w9, [x8, x25, lsl #2]
LBB0_18:
	ldr	x8, [x26]
	ldr	w8, [x8, x25, lsl #2]
	cmp	w8, #6
	b.ne	LBB0_25
; %bb.19:
	ldr	x8, [x23]
	ldr	w0, [x8, x25, lsl #2]
	mov	x1, x20
	bl	_needed_again
	cbz	x0, LBB0_21
; %bb.20:
	ldr	x8, [x23]
	ldr	w2, [x8, x25, lsl #2]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
LBB0_21:
	ldr	x8, [x22]
	ldr	w2, [x8, x21]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	ldr	x8, [x24]
	ldr	w8, [x8, x21]
	and	w9, w8, #0xfffffffe
	cmp	w9, #8
	b.ne	LBB0_23
; %bb.22:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #-1
	bl	_alloc_reg_temp
Lloh30:
	adrp	x8, _minimum_free_regs@GOTPAGE
Lloh31:
	ldr	x8, [x8, _minimum_free_regs@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	mov	w9, #1
	str	w9, [x8, x21]
	ldr	x8, [x24]
	ldr	w8, [x8, x21]
LBB0_23:
	cmp	w8, #10
	b.ne	LBB0_25
; %bb.24:
Lloh33:
	adrp	x24, _SR@GOTPAGE
Lloh34:
	ldr	x24, [x24, _SR@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	ldr	w1, [x24]
	mov	x0, x19
	bl	_dirty_reg
LBB0_25:
	ldr	x8, [x23]
	ldr	w1, [x8, x21]
	mov	x0, x19
	bl	_clear_const
	ldr	x8, [x22]
	ldr	w1, [x8, x21]
	mov	x0, x19
	bl	_clear_const
	ldr	x8, [x22]
	ldr	w1, [x8, x21]
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_dirty_reg
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_opcode,8,3                     ; @opcode
	.comm	_rs1,8,3                        ; @rs1
	.comm	_rs2,8,3                        ; @rs2
	.comm	_opcode2,8,3                    ; @opcode2
	.comm	_rt1,8,3                        ; @rt1
	.comm	_SR,4,2                         ; @SR
	.comm	_minimum_free_regs,8,3          ; @minimum_free_regs
.subsections_via_symbols
