	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_system_alloc                   ## -- Begin function system_alloc
	.p2align	4, 0x90
_system_alloc:                          ## @system_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_alloc_cc
	movq	_CCREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dirty_reg
	movq	_opcode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %r14
	cmpl	$12, (%rax,%r14,4)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$15, %edx
	callq	_alloc_reg
	movq	%rbx, %rdi
	movl	$15, %esi
	callq	_dirty_reg
	movq	_SR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_alloc_reg
	movq	_VBR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_alloc_reg
	movq	_MOREG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_alloc_reg
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$-1, %edx
	callq	_alloc_reg_temp
	movq	_minimum_free_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$1, (%rax,%r14,4)
LBB0_2:
	movq	$0, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CCREG,4,2                      ## @CCREG
	.comm	_opcode,8,3                     ## @opcode
	.comm	_SR,4,2                         ## @SR
	.comm	_VBR,4,2                        ## @VBR
	.comm	_MOREG,4,2                      ## @MOREG
	.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	_system_alloc                   ; -- Begin function system_alloc
	.p2align	2
_system_alloc:                          ; @system_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
	bl	_alloc_cc
Lloh0:
	adrp	x8, _CCREG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CCREG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dirty_reg
Lloh3:
	adrp	x8, _opcode@GOTPAGE
Lloh4:
	ldr	x8, [x8, _opcode@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x8, w20, sxtw #2]
	cmp	w8, #12
	b.ne	LBB0_2
; %bb.1:
	sxtw	x21, w20
	mov	x0, x19
	mov	x1, x20
	mov	w2, #15
	bl	_alloc_reg
	mov	x0, x19
	mov	w1, #15
	bl	_dirty_reg
Lloh6:
	adrp	x8, _SR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SR@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
Lloh9:
	adrp	x8, _VBR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VBR@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
Lloh12:
	adrp	x8, _MOREG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MOREG@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_alloc_reg
	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, x21, lsl #2]
LBB0_2:
	str	xzr, [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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CCREG,4,2                      ; @CCREG
	.comm	_opcode,8,3                     ; @opcode
	.comm	_SR,4,2                         ; @SR
	.comm	_VBR,4,2                        ; @VBR
	.comm	_MOREG,4,2                      ; @MOREG
	.comm	_minimum_free_regs,8,3          ; @minimum_free_regs
.subsections_via_symbols
