	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_exception
_set_exception:                         ## @set_exception
	.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
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$15, %esi
	ja	LBB0_28
## %bb.1:
	movl	%edx, %r14d
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_4:
	movq	24(%rbx), %rdi
	callq	_ioread32be
	movq	_DMA_MODE_ECC@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_28:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_29
LBB0_11:
	movq	16(%rbx), %rdi
	addq	$4, %rdi
	callq	_ioread32be
	movq	_QMI_INTR_EN_SINGLE_ECC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%edi, %ecx
	orl	%eax, %ecx
	notl	%edi
	andl	%eax, %edi
	testl	%r14d, %r14d
	cmovnel	%ecx, %edi
	movq	16(%rbx), %rsi
	jmp	LBB0_7
LBB0_12:
	movq	16(%rbx), %rdi
	callq	_ioread32be
	movq	_QMI_ERR_INTR_EN_DOUBLE_ECC@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_14:
	movq	16(%rbx), %rdi
	callq	_ioread32be
	movq	_QMI_ERR_INTR_EN_DEQ_FROM_DEF@GOTPCREL(%rip), %rcx
LBB0_13:
	movl	(%rcx), %edi
	movl	%edi, %ecx
	orl	%eax, %ecx
	notl	%edi
	andl	%eax, %edi
	testl	%r14d, %r14d
	cmovnel	%ecx, %edi
	movq	16(%rbx), %rsi
	jmp	LBB0_8
LBB0_25:
	movq	(%rbx), %rdi
	callq	_ioread32be
	movl	%eax, %r15d
	movq	(%rbx), %rdi
	testl	%r14d, %r14d
	je	LBB0_27
## %bb.26:
	callq	_enable_rams_ecc
	movq	_FPM_MURAM_ECC_ERR_EX_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	jmp	LBB0_24
LBB0_20:
	movq	(%rbx), %rdi
	callq	_ioread32be
	movl	%eax, %r15d
	movq	(%rbx), %rdi
	testl	%r14d, %r14d
	je	LBB0_22
## %bb.21:
	callq	_enable_rams_ecc
	movq	_FPM_IRAM_ECC_ERR_EX_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	jmp	LBB0_24
LBB0_5:
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	_ioread32be
	movq	_FPM_EV_MASK_STALL_EN@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_9:
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	_ioread32be
	movq	_FPM_EV_MASK_SINGLE_ECC_EN@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_10:
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	_ioread32be
	movq	_FPM_EV_MASK_DOUBLE_ECC_EN@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%rcx), %edi
	movl	%edi, %ecx
	orl	%eax, %ecx
	notl	%edi
	andl	%eax, %edi
	testl	%r14d, %r14d
	cmovnel	%ecx, %edi
	movq	(%rbx), %rsi
LBB0_7:
	addq	$4, %rsi
	jmp	LBB0_8
LBB0_2:
	movq	24(%rbx), %rdi
	callq	_ioread32be
	movq	_DMA_MODE_BER@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %edi
	movl	%edi, %ecx
	orl	%eax, %ecx
	notl	%edi
	andl	%eax, %edi
	testl	%r14d, %r14d
	cmovnel	%ecx, %edi
	movq	24(%rbx), %rsi
	jmp	LBB0_8
LBB0_17:
	movq	8(%rbx), %rdi
	callq	_ioread32be
	movq	_BMI_ERR_INTR_EN_STORAGE_PROFILE_ECC@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_18:
	movq	8(%rbx), %rdi
	callq	_ioread32be
	movq	_BMI_ERR_INTR_EN_STATISTICS_RAM_ECC@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_15:
	movq	8(%rbx), %rdi
	callq	_ioread32be
	movq	_BMI_ERR_INTR_EN_LIST_RAM_ECC@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_19:
	movq	8(%rbx), %rdi
	callq	_ioread32be
	movq	_BMI_ERR_INTR_EN_DISPATCH_RAM_ECC@GOTPCREL(%rip), %rcx
LBB0_16:
	movl	(%rcx), %edi
	movl	%edi, %ecx
	orl	%eax, %ecx
	notl	%edi
	andl	%eax, %edi
	testl	%r14d, %r14d
	cmovnel	%ecx, %edi
	movq	8(%rbx), %rsi
	jmp	LBB0_8
LBB0_27:
	callq	_disable_rams_ecc
	movq	_FPM_MURAM_ECC_ERR_EX_EN@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_22:
	callq	_disable_rams_ecc
	movq	_FPM_IRAM_ECC_ERR_EX_EN@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
LBB0_24:
	movq	(%rbx), %rsi
	movl	%r15d, %edi
LBB0_8:
	callq	_iowrite32be
	xorl	%eax, %eax
LBB0_29:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_25
	.long	L0_0_set_20
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_15
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.comm	_DMA_MODE_BER,4,2               ## @DMA_MODE_BER
	.comm	_DMA_MODE_ECC,4,2               ## @DMA_MODE_ECC
	.comm	_FPM_EV_MASK_STALL_EN,4,2       ## @FPM_EV_MASK_STALL_EN
	.comm	_FPM_EV_MASK_SINGLE_ECC_EN,4,2  ## @FPM_EV_MASK_SINGLE_ECC_EN
	.comm	_FPM_EV_MASK_DOUBLE_ECC_EN,4,2  ## @FPM_EV_MASK_DOUBLE_ECC_EN
	.comm	_QMI_INTR_EN_SINGLE_ECC,4,2     ## @QMI_INTR_EN_SINGLE_ECC
	.comm	_QMI_ERR_INTR_EN_DOUBLE_ECC,4,2 ## @QMI_ERR_INTR_EN_DOUBLE_ECC
	.comm	_QMI_ERR_INTR_EN_DEQ_FROM_DEF,4,2 ## @QMI_ERR_INTR_EN_DEQ_FROM_DEF
	.comm	_BMI_ERR_INTR_EN_LIST_RAM_ECC,4,2 ## @BMI_ERR_INTR_EN_LIST_RAM_ECC
	.comm	_BMI_ERR_INTR_EN_STORAGE_PROFILE_ECC,4,2 ## @BMI_ERR_INTR_EN_STORAGE_PROFILE_ECC
	.comm	_BMI_ERR_INTR_EN_STATISTICS_RAM_ECC,4,2 ## @BMI_ERR_INTR_EN_STATISTICS_RAM_ECC
	.comm	_BMI_ERR_INTR_EN_DISPATCH_RAM_ECC,4,2 ## @BMI_ERR_INTR_EN_DISPATCH_RAM_ECC
	.comm	_FPM_IRAM_ECC_ERR_EX_EN,4,2     ## @FPM_IRAM_ECC_ERR_EX_EN
	.comm	_FPM_MURAM_ECC_ERR_EX_EN,4,2    ## @FPM_MURAM_ECC_ERR_EX_EN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_set_exception
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_exception
_set_exception:                         ; @set_exception
	.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
	sub	w8, w1, #128
	cmp	w8, #15
	b.hi	LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x0, [x19, #24]
	bl	_ioread32be
Lloh2:
	adrp	x8, _DMA_MODE_ECC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DMA_MODE_ECC@GOTPAGEOFF]
	b	LBB0_19
LBB0_3:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_26
LBB0_4:
	ldr	x8, [x19, #16]
	add	x0, x8, #4
	bl	_ioread32be
Lloh7:
	adrp	x8, _QMI_INTR_EN_SINGLE_ECC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _QMI_INTR_EN_SINGLE_ECC@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	cmp	w20, #0
	csel	w0, w8, w9, eq
	ldr	x8, [x19, #16]
	b	LBB0_17
LBB0_5:
	ldr	x0, [x19, #16]
	bl	_ioread32be
Lloh10:
	adrp	x8, _QMI_ERR_INTR_EN_DOUBLE_ECC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _QMI_ERR_INTR_EN_DOUBLE_ECC@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	ldr	x0, [x19, #16]
	bl	_ioread32be
Lloh12:
	adrp	x8, _QMI_ERR_INTR_EN_DEQ_FROM_DEF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QMI_ERR_INTR_EN_DEQ_FROM_DEF@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	cmp	w20, #0
	csel	w0, w8, w9, eq
	ldr	x1, [x19, #16]
	b	LBB0_25
LBB0_8:
	ldr	x0, [x19]
	bl	_ioread32be
	mov	x21, x0
	ldr	x0, [x19]
	cbz	w20, LBB0_27
; %bb.9:
	bl	_enable_rams_ecc
Lloh14:
	adrp	x8, _FPM_MURAM_ECC_ERR_EX_EN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FPM_MURAM_ECC_ERR_EX_EN@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	ldr	x0, [x19]
	bl	_ioread32be
	mov	x21, x0
	ldr	x0, [x19]
	cbz	w20, LBB0_28
; %bb.11:
	bl	_enable_rams_ecc
Lloh16:
	adrp	x8, _FPM_IRAM_ECC_ERR_EX_EN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FPM_IRAM_ECC_ERR_EX_EN@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	orr	w0, w8, w21
	ldr	x1, [x19]
	b	LBB0_25
LBB0_13:
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_ioread32be
Lloh18:
	adrp	x8, _FPM_EV_MASK_STALL_EN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FPM_EV_MASK_STALL_EN@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_ioread32be
Lloh20:
	adrp	x8, _FPM_EV_MASK_SINGLE_ECC_EN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FPM_EV_MASK_SINGLE_ECC_EN@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_ioread32be
Lloh22:
	adrp	x8, _FPM_EV_MASK_DOUBLE_ECC_EN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FPM_EV_MASK_DOUBLE_ECC_EN@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	cmp	w20, #0
	csel	w0, w8, w9, eq
	ldr	x8, [x19]
LBB0_17:
	add	x1, x8, #4
	b	LBB0_25
LBB0_18:
	ldr	x0, [x19, #24]
	bl	_ioread32be
Lloh24:
	adrp	x8, _DMA_MODE_BER@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DMA_MODE_BER@GOTPAGEOFF]
LBB0_19:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	cmp	w20, #0
	csel	w0, w8, w9, eq
	ldr	x1, [x19, #24]
	b	LBB0_25
LBB0_20:
	ldr	x0, [x19, #8]
	bl	_ioread32be
Lloh26:
	adrp	x8, _BMI_ERR_INTR_EN_STORAGE_PROFILE_ECC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BMI_ERR_INTR_EN_STORAGE_PROFILE_ECC@GOTPAGEOFF]
	b	LBB0_24
LBB0_21:
	ldr	x0, [x19, #8]
	bl	_ioread32be
Lloh28:
	adrp	x8, _BMI_ERR_INTR_EN_STATISTICS_RAM_ECC@GOTPAGE
Lloh29:
	ldr	x8, [x8, _BMI_ERR_INTR_EN_STATISTICS_RAM_ECC@GOTPAGEOFF]
	b	LBB0_24
LBB0_22:
	ldr	x0, [x19, #8]
	bl	_ioread32be
Lloh30:
	adrp	x8, _BMI_ERR_INTR_EN_LIST_RAM_ECC@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BMI_ERR_INTR_EN_LIST_RAM_ECC@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:
	ldr	x0, [x19, #8]
	bl	_ioread32be
Lloh32:
	adrp	x8, _BMI_ERR_INTR_EN_DISPATCH_RAM_ECC@GOTPAGE
Lloh33:
	ldr	x8, [x8, _BMI_ERR_INTR_EN_DISPATCH_RAM_ECC@GOTPAGEOFF]
LBB0_24:
	ldr	w8, [x8]
	orr	w9, w8, w0
	bic	w8, w0, w8
	cmp	w20, #0
	csel	w0, w8, w9, eq
	ldr	x1, [x19, #8]
LBB0_25:
	bl	_iowrite32be
	mov	w0, #0
LBB0_26:
	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
LBB0_27:
	bl	_disable_rams_ecc
Lloh34:
	adrp	x8, _FPM_MURAM_ECC_ERR_EX_EN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _FPM_MURAM_ECC_ERR_EX_EN@GOTPAGEOFF]
	b	LBB0_29
LBB0_28:
	bl	_disable_rams_ecc
Lloh36:
	adrp	x8, _FPM_IRAM_ECC_ERR_EX_EN@GOTPAGE
Lloh37:
	ldr	x8, [x8, _FPM_IRAM_ECC_ERR_EX_EN@GOTPAGEOFF]
LBB0_29:
	ldr	w8, [x8]
	bic	w0, w21, w8
	ldr	x1, [x19]
	b	LBB0_25
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.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_10-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_20-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_23-LBB0_2)>>2
                                        ; -- End function
	.comm	_DMA_MODE_BER,4,2               ; @DMA_MODE_BER
	.comm	_DMA_MODE_ECC,4,2               ; @DMA_MODE_ECC
	.comm	_FPM_EV_MASK_STALL_EN,4,2       ; @FPM_EV_MASK_STALL_EN
	.comm	_FPM_EV_MASK_SINGLE_ECC_EN,4,2  ; @FPM_EV_MASK_SINGLE_ECC_EN
	.comm	_FPM_EV_MASK_DOUBLE_ECC_EN,4,2  ; @FPM_EV_MASK_DOUBLE_ECC_EN
	.comm	_QMI_INTR_EN_SINGLE_ECC,4,2     ; @QMI_INTR_EN_SINGLE_ECC
	.comm	_QMI_ERR_INTR_EN_DOUBLE_ECC,4,2 ; @QMI_ERR_INTR_EN_DOUBLE_ECC
	.comm	_QMI_ERR_INTR_EN_DEQ_FROM_DEF,4,2 ; @QMI_ERR_INTR_EN_DEQ_FROM_DEF
	.comm	_BMI_ERR_INTR_EN_LIST_RAM_ECC,4,2 ; @BMI_ERR_INTR_EN_LIST_RAM_ECC
	.comm	_BMI_ERR_INTR_EN_STORAGE_PROFILE_ECC,4,2 ; @BMI_ERR_INTR_EN_STORAGE_PROFILE_ECC
	.comm	_BMI_ERR_INTR_EN_STATISTICS_RAM_ECC,4,2 ; @BMI_ERR_INTR_EN_STATISTICS_RAM_ECC
	.comm	_BMI_ERR_INTR_EN_DISPATCH_RAM_ECC,4,2 ; @BMI_ERR_INTR_EN_DISPATCH_RAM_ECC
	.comm	_FPM_IRAM_ECC_ERR_EX_EN,4,2     ; @FPM_IRAM_ECC_ERR_EX_EN
	.comm	_FPM_MURAM_ECC_ERR_EX_EN,4,2    ; @FPM_MURAM_ECC_ERR_EX_EN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_set_exception
.subsections_via_symbols
