	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wax_choose_irq
_wax_choose_irq:                        ## @wax_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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	4(%rdi), %eax
	cmpl	$115, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$144, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$140, %eax
	jne	LBB0_11
## %bb.4:
	movl	$6, %esi
	jmp	LBB0_6
LBB0_1:
	movl	$1, %esi
	jmp	LBB0_6
LBB0_5:
	movl	$10, %esi
LBB0_6:
	leaq	8(%rbx), %rdx
	movq	%r14, %rdi
	callq	_gsc_asic_assign_irq
	movl	4(%rbx), %eax
	cmpl	$115, %eax
	je	LBB0_7
## %bb.8:
	cmpl	$144, %eax
	jne	LBB0_11
## %bb.9:
	xorl	%esi, %esi
	jmp	LBB0_10
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movl	$2, %esi
LBB0_10:
	movq	%r14, %rdi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gsc_asic_assign_irq            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wax_choose_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wax_choose_irq
_wax_choose_irq:                        ; @wax_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
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0, #4]
	cmp	w8, #115
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #144
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #140
	b.ne	LBB0_9
; %bb.3:
	mov	w1, #6
	b	LBB0_6
LBB0_4:
	mov	w1, #1
	b	LBB0_6
LBB0_5:
	mov	w1, #10
LBB0_6:
	add	x2, x19, #8
	mov	x0, x20
	bl	_gsc_asic_assign_irq
	ldr	w8, [x19, #4]
	cmp	w8, #115
	b.eq	LBB0_10
; %bb.7:
	cmp	w8, #144
	b.ne	LBB0_9
; %bb.8:
	mov	w1, #0
	b	LBB0_11
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w1, #2
LBB0_11:
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gsc_asic_assign_irq
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wax_choose_irq
.subsections_via_symbols
