	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gicp_irq_domain_alloc
_gicp_irq_domain_alloc:                 ## @gicp_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rbx
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movl	(%rbx), %esi
	movl	8(%rbx), %edi
	callq	_find_first_zero_bit
	cmpl	(%rbx), %eax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_spin_unlock
	movq	_ENOSPC@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movl	8(%rbx), %esi
	movl	%eax, %edi
	callq	___set_bit
	movq	%r14, %rdi
	callq	_spin_unlock
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_GIC_SPI,8,3                    ## @GIC_SPI
	.comm	_IRQ_TYPE_EDGE_RISING,8,3       ## @IRQ_TYPE_EDGE_RISING
	.comm	_gicp_irq_chip,4,2              ## @gicp_irq_chip
	.no_dead_strip	_gicp_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 gicp_irq_domain_alloc
_gicp_irq_domain_alloc:                 ; @gicp_irq_domain_alloc
	.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	x20, [x0, #8]
	add	x19, x20, #4
	mov	x0, x19
	bl	_spin_lock
	ldr	w0, [x20, #8]
	ldr	w1, [x20]
	bl	_find_first_zero_bit
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_spin_unlock
Lloh0:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w1, [x20, #8]
	bl	___set_bit
	mov	x0, x19
	bl	_spin_unlock
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_GIC_SPI,8,3                    ; @GIC_SPI
	.comm	_IRQ_TYPE_EDGE_RISING,8,3       ; @IRQ_TYPE_EDGE_RISING
	.comm	_gicp_irq_chip,4,2              ; @gicp_irq_chip
	.no_dead_strip	_gicp_irq_domain_alloc
.subsections_via_symbols
