	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SDL_JNI_ThrowException         ## -- Begin function SDL_JNI_ThrowException
	.p2align	4, 0x90
_SDL_JNI_ThrowException:                ## @SDL_JNI_ThrowException
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	callq	*40(%rax)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*32(%rax)
	movq	%rax, %r12
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*24(%rax)
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_ALOGW
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*8(%rax)
LBB0_3:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*16(%rax)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	*(%rax)
	movq	%rax, %rcx
	movq	_JNI_OK@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_8
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_ALOGE
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*8(%rax)
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_ALOGE
LBB0_7:
	movl	$-1, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Discarding pending exception (%s) to throw"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to find exception class %s"

	.comm	_JNI_OK,8,3                     ## @JNI_OK
L_.str.2:                               ## @.str.2
	.asciz	"Failed throwing '%s' '%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SDL_JNI_ThrowException         ; -- Begin function SDL_JNI_ThrowException
	.p2align	2
_SDL_JNI_ThrowException:                ; @SDL_JNI_ThrowException
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8, #40]
	blr	x8
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldr	x8, [x8, #32]
	mov	x0, x19
	blr	x8
	mov	x22, x0
	ldr	x8, [x19]
	ldr	x8, [x8, #24]
	mov	x0, x19
	blr	x8
	cbz	x22, LBB0_3
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_ALOGW
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	x0, x19
	mov	x1, x22
	blr	x8
LBB0_3:
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	cbz	x0, LBB0_6
; %bb.4:
	mov	x22, x0
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	blr	x8
Lloh2:
	adrp	x8, _JNI_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _JNI_OK@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:
	mov	w0, #0
	b	LBB0_9
LBB0_6:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_ALOGE
	b	LBB0_8
LBB0_7:
	str	x21, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_ALOGE
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	x0, x19
	mov	x1, x22
	blr	x8
LBB0_8:
	mov	w0, #-1
LBB0_9:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Discarding pending exception (%s) to throw"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to find exception class %s"

	.comm	_JNI_OK,8,3                     ; @JNI_OK
l_.str.2:                               ; @.str.2
	.asciz	"Failed throwing '%s' '%s'"

.subsections_via_symbols
