	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exiu_domain_alloc
_exiu_domain_alloc:                     ## @exiu_domain_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movl	%edx, %r13d
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	8(%rdi), %r12
	movq	16(%rcx), %rax
	movq	%rax, -48(%rbp)
	movups	(%rcx), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_is_of_node
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpl	$3, (%rbx)
	jne	LBB0_2
## %bb.3:
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	movq	_GIC_SPI@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.4:
	movl	%r13d, %edx
	movq	8(%rax), %r13
	subq	(%r12), %r13
	jmp	LBB0_6
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_5:
	movl	%r13d, %edx
	movq	8(%rbx), %rax
	movq	(%rax), %r13
	movq	(%r12), %rax
	addq	%r13, %rax
	addq	$32, %rax
	movq	-56(%rbp), %rcx
	movq	%rax, (%rcx)
LBB0_6:
	xorl	%edi, %edi
	movl	%edx, %ebx
	cmpl	$1, %edx
	setne	%dil
	callq	_WARN_ON
	movq	_exiu_irq_chip@GOTPCREL(%rip), %rcx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%r13, %rdx
	movq	%r12, %r8
	callq	_irq_domain_set_hwirq_and_chip
	movq	(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	-64(%rbp), %rcx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_irq_domain_alloc_irqs_parent
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GIC_SPI,8,3                    ## @GIC_SPI
	.comm	_exiu_irq_chip,4,2              ## @exiu_irq_chip
	.no_dead_strip	_exiu_domain_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exiu_domain_alloc
_exiu_domain_alloc:                     ; @exiu_domain_alloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	q0, [x3]
	str	q0, [sp]
	ldr	x8, [x3, #16]
	str	x8, [sp, #16]
	ldp	x8, x22, [x0]
	ldr	w0, [x8]
	bl	_is_of_node
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x23]
	cmp	w8, #3
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x23, #8]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _GIC_SPI@GOTPAGE
Lloh1:
	ldr	x10, [x10, _GIC_SPI@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x8, #8]
	ldr	x9, [x22]
	sub	x23, x8, x9
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_5:
	ldr	x8, [x23, #8]
	ldr	x23, [x8]
	ldr	x8, [x22]
	add	x8, x23, x8
	add	x8, x8, #32
	ldr	x9, [sp, #8]
	str	x8, [x9]
LBB0_6:
	cmp	w19, #1
	cset	w0, ne
	bl	_WARN_ON
Lloh6:
	adrp	x3, _exiu_irq_chip@GOTPAGE
Lloh7:
	ldr	x3, [x3, _exiu_irq_chip@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	mov	x4, x22
	bl	_irq_domain_set_hwirq_and_chip
	ldr	x8, [x21]
	ldr	w8, [x8]
	str	w8, [sp, #16]
	mov	x3, sp
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_irq_domain_alloc_irqs_parent
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GIC_SPI,8,3                    ; @GIC_SPI
	.comm	_exiu_irq_chip,4,2              ; @exiu_irq_chip
	.no_dead_strip	_exiu_domain_alloc
.subsections_via_symbols
