	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_builtin_reg_class
_emit_builtin_reg_class:                ## @emit_builtin_reg_class
	.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
	movl	8(%rdi), %edi
	xorl	%esi, %esi
	callq	_vec_get
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_KIND_PTR@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	movq	(%rdi), %rax
	movq	_KIND_STRUCT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_2:
	callq	_is_flotype
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmoveq	%rax, %rdi
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_emit                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KIND_PTR,8,3                   ## @KIND_PTR
	.comm	_KIND_STRUCT,8,3                ## @KIND_STRUCT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mov $2, #eax"

L_.str.1:                               ## @.str.1
	.asciz	"mov $1, #eax"

L_.str.2:                               ## @.str.2
	.asciz	"mov $0, #eax"

	.no_dead_strip	_emit_builtin_reg_class
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_builtin_reg_class
_emit_builtin_reg_class:                ; @emit_builtin_reg_class
	.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
	ldr	w0, [x0, #8]
	mov	w1, #0
	bl	_vec_get
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _KIND_PTR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _KIND_PTR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _KIND_STRUCT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _KIND_STRUCT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:
	bl	_is_flotype
Lloh8:
	adrp	x8, l_.str.1@PAGE
Lloh9:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh10:
	adrp	x9, l_.str.2@PAGE
Lloh11:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x0, #0
	csel	x0, x9, x8, eq
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_emit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_KIND_PTR,8,3                   ; @KIND_PTR
	.comm	_KIND_STRUCT,8,3                ; @KIND_STRUCT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mov $2, #eax"

l_.str.1:                               ; @.str.1
	.asciz	"mov $1, #eax"

l_.str.2:                               ; @.str.2
	.asciz	"mov $0, #eax"

	.no_dead_strip	_emit_builtin_reg_class
.subsections_via_symbols
