	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_load_convert
_emit_load_convert:                     ## @emit_load_convert
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_is_inttype
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%r14), %rax
	movq	_KIND_FLOAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_4:
	movq	%rbx, %rdi
	callq	_is_inttype
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	(%r14), %rax
	movq	_KIND_DOUBLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_3
LBB0_7:
	movq	(%rbx), %rcx
	movq	_KIND_FLOAT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_KIND_DOUBLE@GOTPCREL(%rip), %rdx
	cmpq	%rdi, %rcx
	jne	LBB0_8
## %bb.12:
	movq	(%rdx), %rdx
	cmpq	%rdx, (%r14)
	jne	LBB0_9
## %bb.13:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_3
LBB0_8:
	movq	(%rdx), %rdx
LBB0_9:
	cmpq	%rdx, %rcx
	sete	%dl
	movq	_KIND_LDOUBLE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	sete	%al
	orb	%dl, %al
	movq	(%r14), %rcx
	cmpb	$1, %al
	jne	LBB0_14
## %bb.10:
	cmpq	%rdi, %rcx
	jne	LBB0_14
## %bb.11:
	leaq	L_.str.3(%rip), %rdi
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_emit                           ## TAILCALL
LBB0_14:
	movq	_KIND_BOOL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_15
## %bb.19:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_emit_to_bool                   ## TAILCALL
LBB0_15:
	movq	%rbx, %rdi
	callq	_is_inttype
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	%r14, %rdi
	callq	_is_inttype
	testq	%rax, %rax
	je	LBB0_17
## %bb.20:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_emit_intcast                   ## TAILCALL
LBB0_17:
	movq	%r14, %rdi
	callq	_is_inttype
	testq	%rax, %rax
	je	LBB0_18
## %bb.21:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_emit_toint                     ## TAILCALL
LBB0_18:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SAVE,4,2                       ## @SAVE
	.comm	_KIND_FLOAT,8,3                 ## @KIND_FLOAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cvtsi2ss #eax, #xmm0"

	.comm	_KIND_DOUBLE,8,3                ## @KIND_DOUBLE
L_.str.1:                               ## @.str.1
	.asciz	"cvtsi2sd #eax, #xmm0"

L_.str.2:                               ## @.str.2
	.asciz	"cvtps2pd #xmm0, #xmm0"

	.comm	_KIND_LDOUBLE,8,3               ## @KIND_LDOUBLE
L_.str.3:                               ## @.str.3
	.asciz	"cvtpd2ps #xmm0, #xmm0"

	.comm	_KIND_BOOL,8,3                  ## @KIND_BOOL
	.no_dead_strip	_emit_load_convert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_load_convert
_emit_load_convert:                     ; @emit_load_convert
	.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	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_is_inttype
Lloh0:
	adrp	x21, _KIND_FLOAT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _KIND_FLOAT@GOTPAGEOFF]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_14
LBB0_3:
	mov	x0, x19
	bl	_is_inttype
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x20]
Lloh4:
	adrp	x9, _KIND_DOUBLE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _KIND_DOUBLE@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_6:
	ldr	x9, [x19]
	ldr	x8, [x21]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.7:
	ldr	x11, [x20]
Lloh9:
	adrp	x10, _KIND_DOUBLE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _KIND_DOUBLE@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x11, x10
	b.ne	LBB0_10
; %bb.8:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_9:
Lloh14:
	adrp	x10, _KIND_DOUBLE@GOTPAGE
Lloh15:
	ldr	x10, [x10, _KIND_DOUBLE@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
LBB0_10:
Lloh17:
	adrp	x11, _KIND_LDOUBLE@GOTPAGE
Lloh18:
	ldr	x11, [x11, _KIND_LDOUBLE@GOTPAGEOFF]
Lloh19:
	ldr	x11, [x11]
	cmp	x9, x11
	ccmp	x9, x10, #4, ne
	ldr	x9, [x20]
	ccmp	x9, x8, #0, eq
	b.eq	LBB0_13
; %bb.11:
Lloh20:
	adrp	x8, _KIND_BOOL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _KIND_BOOL@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.12:
	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	_emit_to_bool
LBB0_13:
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_14:
	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	_emit
LBB0_15:
	mov	x0, x19
	bl	_is_inttype
	cbz	x0, LBB0_18
; %bb.16:
	mov	x0, x20
	bl	_is_inttype
	cbz	x0, LBB0_18
; %bb.17:
	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	_emit_intcast
LBB0_18:
	mov	x0, x20
	bl	_is_inttype
	cbz	x0, LBB0_20
; %bb.19:
	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	_emit_toint
LBB0_20:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_SAVE,4,2                       ; @SAVE
	.comm	_KIND_FLOAT,8,3                 ; @KIND_FLOAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cvtsi2ss #eax, #xmm0"

	.comm	_KIND_DOUBLE,8,3                ; @KIND_DOUBLE
l_.str.1:                               ; @.str.1
	.asciz	"cvtsi2sd #eax, #xmm0"

l_.str.2:                               ; @.str.2
	.asciz	"cvtps2pd #xmm0, #xmm0"

	.comm	_KIND_LDOUBLE,8,3               ; @KIND_LDOUBLE
l_.str.3:                               ; @.str.3
	.asciz	"cvtpd2ps #xmm0, #xmm0"

	.comm	_KIND_BOOL,8,3                  ; @KIND_BOOL
	.no_dead_strip	_emit_load_convert
.subsections_via_symbols
