	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mipsfbsd_get_longjmp_target
_mipsfbsd_get_longjmp_target:           ## @mipsfbsd_get_longjmp_target
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_FBSD_MIPS_JB_ELEMENT_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_alloca
	movq	%rax, %rbx
	movq	_A0_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_read_register
	movq	_FBSD_MIPS_JB_OFFSET@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movl	(%r15), %edx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_target_read_memory
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.1:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_extract_unsigned_integer
	movq	%rax, (%r14)
	movl	$1, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FBSD_MIPS_JB_ELEMENT_SIZE,4,2  ## @FBSD_MIPS_JB_ELEMENT_SIZE
	.comm	_A0_REGNUM,4,2                  ## @A0_REGNUM
	.comm	_FBSD_MIPS_JB_OFFSET,8,3        ## @FBSD_MIPS_JB_OFFSET
	.no_dead_strip	_mipsfbsd_get_longjmp_target
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mipsfbsd_get_longjmp_target
_mipsfbsd_get_longjmp_target:           ; @mipsfbsd_get_longjmp_target
	.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, x0
Lloh0:
	adrp	x21, _FBSD_MIPS_JB_ELEMENT_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FBSD_MIPS_JB_ELEMENT_SIZE@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_alloca
	mov	x20, x0
Lloh2:
	adrp	x8, _A0_REGNUM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _A0_REGNUM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_read_register
Lloh5:
	adrp	x8, _FBSD_MIPS_JB_OFFSET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FBSD_MIPS_JB_OFFSET@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x0, x8, x0
	ldr	w2, [x21]
	mov	x1, x20
	bl	_target_read_memory
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_extract_unsigned_integer
	str	x0, [x19]
	mov	w0, #1
LBB0_3:
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FBSD_MIPS_JB_ELEMENT_SIZE,4,2  ; @FBSD_MIPS_JB_ELEMENT_SIZE
	.comm	_A0_REGNUM,4,2                  ; @A0_REGNUM
	.comm	_FBSD_MIPS_JB_OFFSET,8,3        ; @FBSD_MIPS_JB_OFFSET
	.no_dead_strip	_mipsfbsd_get_longjmp_target
.subsections_via_symbols
