	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_get_ir_irq_domain
_intel_get_ir_irq_domain:               ## @intel_get_ir_irq_domain
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movl	(%rdi), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_6
## %bb.2:
	cmpl	$131, %eax
	je	LBB0_8
## %bb.3:
	cmpl	$130, %eax
	jne	LBB0_10
## %bb.4:
	movl	12(%rdi), %edi
	callq	_map_ioapic_to_ir
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_5
LBB0_6:
	movl	4(%rdi), %edi
	callq	_map_dev_to_ir
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_5
LBB0_8:
	movl	8(%rdi), %edi
	callq	_map_hpet_to_ir
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_10:
	movl	$1, %edi
	callq	_BUG_ON
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_intel_get_ir_irq_domain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_get_ir_irq_domain
_intel_get_ir_irq_domain:               ; @intel_get_ir_irq_domain
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w8, [x0]
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_5
; %bb.2:
	cmp	w8, #131
	b.eq	LBB0_8
; %bb.3:
	cmp	w8, #130
	b.ne	LBB0_9
; %bb.4:
	ldr	w0, [x0, #12]
	bl	_map_ioapic_to_ir
	cbnz	x0, LBB0_6
	b	LBB0_7
LBB0_5:
	ldr	w0, [x0, #4]
	bl	_map_dev_to_ir
	cbz	x0, LBB0_7
LBB0_6:
	ldr	x0, [x0]
LBB0_7:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w0, [x0, #8]
	bl	_map_hpet_to_ir
	cbnz	x0, LBB0_6
	b	LBB0_7
LBB0_9:
	mov	w0, #1
	bl	_BUG_ON
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_intel_get_ir_irq_domain
.subsections_via_symbols
