	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssp_get_iram_context           ## -- Begin function ssp_get_iram_context
	.p2align	4, 0x90
_ssp_get_iram_context:                  ## @ssp_get_iram_context
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_svp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movzbl	130(%rax), %ecx
	movzbl	1275(%rax), %edx
	addl	%ecx, %edx
	movzbl	1526(%rax), %ecx
	addl	%edx, %ecx
	movzbl	1146(%rax), %edx
	addl	%ecx, %edx
	movq	_iram_context_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shrl	%edx
	andl	$63, %edx
	movl	(%rax,%rdx,4), %ebx
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.1:
	movq	_EL_ANOMALY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_rPC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_elprintf
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_svp,8,3                        ## @svp
	.comm	_iram_context_map,8,3           ## @iram_context_map
	.comm	_EL_ANOMALY,4,2                 ## @EL_ANOMALY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"svp: iram ctx val: %02x PC=%04x\n"

	.comm	_rPC,4,2                        ## @rPC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssp_get_iram_context           ; -- Begin function ssp_get_iram_context
	.p2align	2
_ssp_get_iram_context:                  ; @ssp_get_iram_context
	.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
Lloh0:
	adrp	x8, _svp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _svp@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldrb	w9, [x8, #1275]
	ldrb	w10, [x8, #130]
	ldrb	w11, [x8, #1526]
	add	w9, w9, w10
	add	w9, w9, w11
	ldrb	w8, [x8, #1146]
	add	w8, w9, w8
Lloh3:
	adrp	x9, _iram_context_map@GOTPAGE
Lloh4:
	ldr	x9, [x9, _iram_context_map@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ubfx	x2, x8, #1, #6
	ldr	w19, [x9, x2, lsl #2]
	cbnz	w19, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EL_ANOMALY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EL_ANOMALY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _rPC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _rPC@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_elprintf
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_svp,8,3                        ; @svp
	.comm	_iram_context_map,8,3           ; @iram_context_map
	.comm	_EL_ANOMALY,4,2                 ; @EL_ANOMALY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"svp: iram ctx val: %02x PC=%04x\n"

	.comm	_rPC,4,2                        ; @rPC
.subsections_via_symbols
