	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function onenand_update_interrupt
_onenand_update_interrupt:              ## @onenand_update_interrupt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movq	_ONENAND_INT_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-128, %esi
	cmpl	$5, %esi
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_2:
	movq	_ONENAND_INT_READ@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_3:
	movq	_ONENAND_INT_WRITE@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_5:
	movq	_ONENAND_INT_RESET@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_4:
	movq	_ONENAND_INT_ERASE@GOTPCREL(%rip), %rcx
LBB0_6:
	orl	(%rcx), %eax
LBB0_7:
	movq	_ONENAND_REG_INTERRUPT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rdi), %rsi
	movl	%eax, %edi
	popq	%rbp
	jmp	_writew                         ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_ONENAND_INT_MASTER,4,2         ## @ONENAND_INT_MASTER
	.comm	_ONENAND_INT_READ,4,2           ## @ONENAND_INT_READ
	.comm	_ONENAND_INT_WRITE,4,2          ## @ONENAND_INT_WRITE
	.comm	_ONENAND_INT_ERASE,4,2          ## @ONENAND_INT_ERASE
	.comm	_ONENAND_INT_RESET,4,2          ## @ONENAND_INT_RESET
	.comm	_ONENAND_REG_INTERRUPT,8,3      ## @ONENAND_REG_INTERRUPT
	.no_dead_strip	_onenand_update_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function onenand_update_interrupt
_onenand_update_interrupt:              ; @onenand_update_interrupt
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _ONENAND_INT_MASTER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ONENAND_INT_MASTER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	sub	w9, w1, #128
	cmp	w9, #5
	b.hi	LBB0_7
; %bb.1:
Lloh3:
	adrp	x10, lJTI0_0@PAGE
Lloh4:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh5:
	adrp	x9, _ONENAND_INT_READ@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ONENAND_INT_READ@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh7:
	adrp	x9, _ONENAND_INT_WRITE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ONENAND_INT_WRITE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh9:
	adrp	x9, _ONENAND_INT_RESET@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ONENAND_INT_RESET@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x9, _ONENAND_INT_ERASE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ONENAND_INT_ERASE@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x9]
	orr	w0, w9, w0
LBB0_7:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _ONENAND_REG_INTERRUPT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ONENAND_REG_INTERRUPT@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x1, x9, x8
	b	_writew
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_ONENAND_INT_MASTER,4,2         ; @ONENAND_INT_MASTER
	.comm	_ONENAND_INT_READ,4,2           ; @ONENAND_INT_READ
	.comm	_ONENAND_INT_WRITE,4,2          ; @ONENAND_INT_WRITE
	.comm	_ONENAND_INT_ERASE,4,2          ; @ONENAND_INT_ERASE
	.comm	_ONENAND_INT_RESET,4,2          ; @ONENAND_INT_RESET
	.comm	_ONENAND_REG_INTERRUPT,8,3      ; @ONENAND_REG_INTERRUPT
	.no_dead_strip	_onenand_update_interrupt
.subsections_via_symbols
