	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asp_choose_irq
_asp_choose_irq:                        ## @asp_choose_irq
	.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
	movl	8(%rdi), %eax
	addl	$-113, %eax
	cmpl	$14, %eax
	ja	LBB0_16
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$9, %esi
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movl	$13, %esi
	jmp	LBB0_11
LBB0_2:
	movl	$8, %esi
	jmp	LBB0_11
LBB0_3:
	movl	$1, %esi
	jmp	LBB0_11
LBB0_4:
	movl	$7, %esi
	jmp	LBB0_11
LBB0_5:
	xorl	%eax, %eax
	cmpl	$4, (%rbx)
	sete	%al
	movl	$6, %esi
	subl	%eax, %esi
	jmp	LBB0_11
LBB0_6:
	movl	$10, %esi
	jmp	LBB0_11
LBB0_7:
	movl	$11, %esi
	jmp	LBB0_11
LBB0_8:
	movl	$3, %esi
	jmp	LBB0_11
LBB0_9:
	movl	$4, %esi
LBB0_11:
	leaq	12(%rbx), %rdx
	movq	%r14, %rdi
	callq	_gsc_asic_assign_irq
	movl	8(%rbx), %eax
	cmpl	$115, %eax
	je	LBB0_12
## %bb.13:
	cmpl	$118, %eax
	jne	LBB0_16
## %bb.14:
	xorl	%esi, %esi
	jmp	LBB0_15
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_12:
	movl	$2, %esi
LBB0_15:
	addq	$4, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gsc_asic_assign_irq            ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-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
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_16
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_asp_choose_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asp_choose_irq
_asp_choose_irq:                        ; @asp_choose_irq
	.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
	ldr	w8, [x0, #8]
	sub	w8, w8, #113
	cmp	w8, #14
	b.hi	LBB0_14
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w1, #9
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:
	mov	w1, #13
	b	LBB0_11
LBB0_3:
	mov	w1, #8
	b	LBB0_11
LBB0_4:
	mov	w1, #1
	b	LBB0_11
LBB0_5:
	mov	w1, #7
	b	LBB0_11
LBB0_6:
	ldr	w8, [x20]
	cmp	w8, #4
	mov	w8, #5
	cinc	w1, w8, ne
	b	LBB0_11
LBB0_7:
	mov	w1, #10
	b	LBB0_11
LBB0_8:
	mov	w1, #11
	b	LBB0_11
LBB0_9:
	mov	w1, #3
	b	LBB0_11
LBB0_10:
	mov	w1, #4
LBB0_11:
	add	x2, x20, #12
	mov	x0, x19
	bl	_gsc_asic_assign_irq
	ldr	w8, [x20, #8]
	cmp	w8, #115
	b.eq	LBB0_15
; %bb.12:
	cmp	w8, #118
	b.ne	LBB0_14
; %bb.13:
	mov	w1, #0
	b	LBB0_16
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	w1, #2
LBB0_16:
	add	x2, x20, #4
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gsc_asic_assign_irq
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_asp_choose_irq
.subsections_via_symbols
