	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gic_local_irq_is_routable
_gic_local_irq_is_routable:             ## @gic_local_irq_is_routable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_cpu_has_veic@GOTPCREL(%rip), %rax
	movl	$1, %r14d
	cmpq	$0, (%rax)
	jne	LBB0_8
## %bb.1:
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_read_gic_vl_ctl
	addl	$-128, %ebx
	cmpl	$4, %ebx
	ja	LBB0_8
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_6:
	movq	_GIC_VX_CTL_SWINT_ROUTABLE@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_3:
	movq	_GIC_VX_CTL_TIMER_ROUTABLE@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_4:
	movq	_GIC_VX_CTL_PERFCNT_ROUTABLE@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_5:
	movq	_GIC_VX_CTL_FDC_ROUTABLE@GOTPCREL(%rip), %rcx
LBB0_7:
	andl	(%rcx), %eax
	movl	%eax, %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_cpu_has_veic,8,3               ## @cpu_has_veic
	.comm	_GIC_VX_CTL_TIMER_ROUTABLE,4,2  ## @GIC_VX_CTL_TIMER_ROUTABLE
	.comm	_GIC_VX_CTL_PERFCNT_ROUTABLE,4,2 ## @GIC_VX_CTL_PERFCNT_ROUTABLE
	.comm	_GIC_VX_CTL_FDC_ROUTABLE,4,2    ## @GIC_VX_CTL_FDC_ROUTABLE
	.comm	_GIC_VX_CTL_SWINT_ROUTABLE,4,2  ## @GIC_VX_CTL_SWINT_ROUTABLE
	.no_dead_strip	_gic_local_irq_is_routable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gic_local_irq_is_routable
_gic_local_irq_is_routable:             ; @gic_local_irq_is_routable
	.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, _cpu_has_veic@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpu_has_veic@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
LBB0_1:
	mov	w0, #1
	b	LBB0_9
LBB0_2:
	mov	x19, x0
	bl	_read_gic_vl_ctl
	sub	w8, w19, #128
	cmp	w8, #4
	b.hi	LBB0_1
; %bb.3:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh5:
	adrp	x8, _GIC_VX_CTL_SWINT_ROUTABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GIC_VX_CTL_SWINT_ROUTABLE@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh7:
	adrp	x8, _GIC_VX_CTL_TIMER_ROUTABLE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GIC_VX_CTL_TIMER_ROUTABLE@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x8, _GIC_VX_CTL_PERFCNT_ROUTABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GIC_VX_CTL_PERFCNT_ROUTABLE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh11:
	adrp	x8, _GIC_VX_CTL_FDC_ROUTABLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GIC_VX_CTL_FDC_ROUTABLE@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	and	w0, w8, w0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
                                        ; -- End function
	.comm	_cpu_has_veic,8,3               ; @cpu_has_veic
	.comm	_GIC_VX_CTL_TIMER_ROUTABLE,4,2  ; @GIC_VX_CTL_TIMER_ROUTABLE
	.comm	_GIC_VX_CTL_PERFCNT_ROUTABLE,4,2 ; @GIC_VX_CTL_PERFCNT_ROUTABLE
	.comm	_GIC_VX_CTL_FDC_ROUTABLE,4,2    ; @GIC_VX_CTL_FDC_ROUTABLE
	.comm	_GIC_VX_CTL_SWINT_ROUTABLE,4,2  ; @GIC_VX_CTL_SWINT_ROUTABLE
	.no_dead_strip	_gic_local_irq_is_routable
.subsections_via_symbols
