	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_debugstr_jsval                 ## -- Begin function debugstr_jsval
	.p2align	4, 0x90
_debugstr_jsval:                        ## @debugstr_jsval
	.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	%edi, %ebx
	callq	_jsval_type
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_9
## %bb.1:
	leaq	L_.str(%rip), %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movl	%ebx, %edi
	callq	_get_variant
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_debugstr_variant               ## TAILCALL
LBB0_9:
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_assert
	jmp	LBB0_10
LBB0_5:
	movl	%ebx, %edi
	callq	_get_string
	movl	%eax, %edi
	callq	_debugstr_jsstr
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_4
LBB0_3:
	movl	%ebx, %edi
	callq	_get_object
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_4
LBB0_6:
	movl	%ebx, %edi
	callq	_get_number
	leaq	L_.str.4(%rip), %rdi
LBB0_4:
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wine_dbg_sprintf               ## TAILCALL
LBB0_2:
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_10
LBB0_7:
	movl	%ebx, %edi
	callq	_get_bool
	testl	%eax, %eax
	leaq	L_.str.6(%rip), %rax
	leaq	L_.str.5(%rip), %r14
	cmoveq	%rax, %r14
LBB0_10:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"undefined"

L_.str.1:                               ## @.str.1
	.asciz	"null"

L_.str.2:                               ## @.str.2
	.asciz	"obj(%p)"

L_.str.3:                               ## @.str.3
	.asciz	"str(%s)"

L_.str.4:                               ## @.str.4
	.asciz	"%lf"

L_.str.5:                               ## @.str.5
	.asciz	"true"

L_.str.6:                               ## @.str.6
	.asciz	"false"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_debugstr_jsval                 ; -- Begin function debugstr_jsval
	.p2align	2
_debugstr_jsval:                        ; @debugstr_jsval
	.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
	mov	x19, x0
	bl	_jsval_type
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	bl	_get_variant
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_debugstr_variant
LBB0_3:
	mov	w0, #0
	bl	_assert
	mov	x0, #0
	b	LBB0_10
LBB0_4:
	mov	x0, x19
	bl	_get_string
	bl	_debugstr_jsstr
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_5:
	mov	x0, x19
	bl	_get_object
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_get_number
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wine_dbg_sprintf
LBB0_8:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_get_bool
Lloh12:
	adrp	x8, l_.str.5@PAGE
Lloh13:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh14:
	adrp	x9, l_.str.6@PAGE
Lloh15:
	add	x9, x9, l_.str.6@PAGEOFF
	cmp	w0, #0
	csel	x0, x9, x8, eq
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"undefined"

l_.str.1:                               ; @.str.1
	.asciz	"null"

l_.str.2:                               ; @.str.2
	.asciz	"obj(%p)"

l_.str.3:                               ; @.str.3
	.asciz	"str(%s)"

l_.str.4:                               ; @.str.4
	.asciz	"%lf"

l_.str.5:                               ; @.str.5
	.asciz	"true"

l_.str.6:                               ; @.str.6
	.asciz	"false"

.subsections_via_symbols
