	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_sun_builtin_type
_read_sun_builtin_type:                 ## @read_sun_builtin_type
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movq	_TYPE_CODE_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	(%rdi), %rax
	movsbl	(%rax), %ecx
	cmpl	$115, %ecx
	je	LBB0_1
## %bb.2:
	cmpl	$117, %ecx
	jne	LBB0_23
## %bb.3:
	movb	$1, %r12b
	jmp	LBB0_4
LBB0_1:
	xorl	%r12d, %r12d
LBB0_4:
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	movb	1(%rax), %cl
	cmpb	$99, %cl
	je	LBB0_7
## %bb.5:
	cmpb	$98, %cl
	jne	LBB0_8
## %bb.6:
	movq	_TYPE_CODE_BOOL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_7:
	addq	$2, %rax
	movq	%rax, (%rbx)
LBB0_8:
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$59, %esi
	callq	_read_huge_number
	cmpl	$0, -36(%rbp)
	jne	LBB0_9
## %bb.10:
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$59, %esi
	callq	_read_huge_number
	cmpl	$0, -36(%rbp)
	jne	LBB0_9
## %bb.11:
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_read_huge_number
	cmpl	$0, -36(%rbp)
	je	LBB0_12
LBB0_9:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_error_type
LBB0_22:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error_type                     ## TAILCALL
LBB0_12:
	movq	(%rbx), %rcx
	cmpb	$59, (%rcx)
	jne	LBB0_14
## %bb.13:
	incq	%rcx
	movq	%rcx, (%rbx)
LBB0_14:
	testl	%eax, %eax
	je	LBB0_15
## %bb.18:
	movq	_TARGET_CHAR_BIT@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	$0, %edx
	testb	%r12b, %r12b
	je	LBB0_20
## %bb.19:
	movq	_TYPE_FLAG_UNSIGNED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_20:
	movl	%r14d, %edi
	movl	%eax, %esi
	jmp	LBB0_21
LBB0_15:
	movq	_TYPE_CODE_VOID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$0, %edx
	testb	%r12b, %r12b
	je	LBB0_17
## %bb.16:
	movq	_TYPE_FLAG_UNSIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_17:
	movl	$1, %esi
LBB0_21:
	xorl	%ecx, %ecx
	movq	%r15, %r8
	callq	_init_type
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CODE_INT,4,2              ## @TYPE_CODE_INT
	.comm	_TYPE_CODE_BOOL,4,2             ## @TYPE_CODE_BOOL
	.comm	_TYPE_CODE_VOID,4,2             ## @TYPE_CODE_VOID
	.comm	_TYPE_FLAG_UNSIGNED,4,2         ## @TYPE_FLAG_UNSIGNED
	.comm	_TARGET_CHAR_BIT,4,2            ## @TARGET_CHAR_BIT
	.no_dead_strip	_read_sun_builtin_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_sun_builtin_type
_read_sun_builtin_type:                 ; @read_sun_builtin_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x21, x0
Lloh0:
	adrp	x8, _TYPE_CODE_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_CODE_INT@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x8, [x0]
	ldrsb	w9, [x8]
	cmp	w9, #115
	b.eq	LBB0_3
; %bb.1:
	cmp	w9, #117
	b.ne	LBB0_13
; %bb.2:
	mov	w22, #1
	b	LBB0_4
LBB0_3:
	mov	w22, #0
LBB0_4:
	add	x9, x8, #1
	str	x9, [x21]
	ldrb	w9, [x8, #1]
	cmp	w9, #99
	b.eq	LBB0_7
; %bb.5:
	cmp	w9, #98
	b.ne	LBB0_8
; %bb.6:
Lloh3:
	adrp	x9, _TYPE_CODE_BOOL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TYPE_CODE_BOOL@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x9]
LBB0_7:
	add	x8, x8, #2
	str	x8, [x21]
LBB0_8:
	add	x2, sp, #12
	mov	x0, x21
	mov	w1, #59
	bl	_read_huge_number
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_11
; %bb.9:
	add	x2, sp, #12
	mov	x0, x21
	mov	w1, #59
	bl	_read_huge_number
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_11
; %bb.10:
	add	x2, sp, #12
	mov	x0, x21
	mov	w1, #0
	bl	_read_huge_number
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_14
LBB0_11:
	mov	x0, x21
	mov	x1, x19
	bl	_error_type
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_13:
	mov	x0, x21
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_error_type
LBB0_14:
	ldr	x8, [x21]
	ldrb	w9, [x8]
	cmp	w9, #59
	b.ne	LBB0_16
; %bb.15:
	add	x8, x8, #1
	str	x8, [x21]
LBB0_16:
	cbz	w0, LBB0_18
; %bb.17:
Lloh6:
	adrp	x8, _TARGET_CHAR_BIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TARGET_CHAR_BIT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	sdiv	w1, w0, w8
Lloh9:
	adrp	x8, _TYPE_FLAG_UNSIGNED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TYPE_FLAG_UNSIGNED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w22, #0
	csel	w2, w8, wzr, ne
	mov	x0, x20
	b	LBB0_19
LBB0_18:
Lloh12:
	adrp	x8, _TYPE_CODE_VOID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TYPE_CODE_VOID@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _TYPE_FLAG_UNSIGNED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TYPE_FLAG_UNSIGNED@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w22, #0
	csel	w2, w8, wzr, ne
	mov	w1, #1
LBB0_19:
	mov	x3, #0
	mov	x4, x19
	bl	_init_type
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CODE_INT,4,2              ; @TYPE_CODE_INT
	.comm	_TYPE_CODE_BOOL,4,2             ; @TYPE_CODE_BOOL
	.comm	_TYPE_CODE_VOID,4,2             ; @TYPE_CODE_VOID
	.comm	_TYPE_FLAG_UNSIGNED,4,2         ; @TYPE_FLAG_UNSIGNED
	.comm	_TARGET_CHAR_BIT,4,2            ; @TARGET_CHAR_BIT
	.no_dead_strip	_read_sun_builtin_type
.subsections_via_symbols
