	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ixp4xx_irq_domain_alloc
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ixp4xx_irq_domain_alloc:               ## @ixp4xx_irq_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movq	_IRQ_TYPE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	leaq	-64(%rbp), %rdx
	leaq	-44(%rbp), %rax
	movq	%rcx, %rsi
	movq	%rax, %rcx
	callq	_ixp4xx_irq_domain_translate
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.2:
	movl	%r13d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, %r15d
	movq	%rbx, %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r15,%r14), %ebx
	movq	-64(%rbp), %rdx
	addq	%r14, %rdx
	movq	_handle_level_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r12, %rcx
	movq	%r12, %r8
	callq	_irq_domain_set_info
	movl	%ebx, %edi
	callq	_irq_set_probe
	incq	%r14
	cmpq	%r14, -56(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_3
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_TYPE_NONE,4,2              ## @IRQ_TYPE_NONE
	.comm	_handle_level_irq,4,2           ## @handle_level_irq
	.no_dead_strip	_ixp4xx_irq_domain_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixp4xx_irq_domain_alloc
_ixp4xx_irq_domain_alloc:               ; @ixp4xx_irq_domain_alloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x8, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x9, _IRQ_TYPE_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IRQ_TYPE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [sp, #4]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x1, x8
	bl	_ixp4xx_irq_domain_translate
	cbnz	w0, LBB0_5
; %bb.1:
	cbz	w22, LBB0_4
; %bb.2:
	mov	x23, #0
	mov	w22, w22
Lloh3:
	adrp	x24, _handle_level_irq@GOTPAGE
Lloh4:
	ldr	x24, [x24, _handle_level_irq@GOTPAGEOFF]
	mov	w25, w21
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w21, w25, w23
	ldr	x8, [sp, #8]
	add	x2, x23, x8
	ldr	w5, [x24]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	mov	x4, x20
	mov	x6, #0
	mov	x7, #0
	bl	_irq_domain_set_info
	mov	x0, x21
	bl	_irq_set_probe
	add	x23, x23, #1
	cmp	x22, x23
	b.ne	LBB0_3
LBB0_4:
	mov	w0, #0
LBB0_5:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_TYPE_NONE,4,2              ; @IRQ_TYPE_NONE
	.comm	_handle_level_irq,4,2           ; @handle_level_irq
	.no_dead_strip	_ixp4xx_irq_domain_alloc
.subsections_via_symbols
