	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxl_free_afu_irqs              ## -- Begin function cxl_free_afu_irqs
	.p2align	4, 0x90
_cxl_free_afu_irqs:                     ## @cxl_free_afu_irqs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_CPU_FTR_HVMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_has_feature
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_cxl_find_afu_irq
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	xorl	%edi, %edi
	movq	%rax, %rsi
	callq	_irq_find_mapping
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_cxl_unmap_irq
LBB0_4:
	movq	%rbx, %rdi
	callq	_afu_irq_name_free
	movq	_cxl_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	addq	$8, %rbx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CPU_FTR_HVMODE,4,2             ## @CPU_FTR_HVMODE
	.comm	_cxl_ops,8,3                    ## @cxl_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxl_free_afu_irqs              ; -- Begin function cxl_free_afu_irqs
	.p2align	2
_cxl_free_afu_irqs:                     ; @cxl_free_afu_irqs
	.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	x19, x0
Lloh0:
	adrp	x8, _CPU_FTR_HVMODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPU_FTR_HVMODE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_has_feature
	cbnz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	bl	_cxl_find_afu_irq
	cbz	x0, LBB0_4
; %bb.2:
	mov	x1, x0
	mov	x0, #0
	bl	_irq_find_mapping
	cbz	w0, LBB0_4
; %bb.3:
	mov	x1, x19
	bl	_cxl_unmap_irq
LBB0_4:
	mov	x0, x19
	bl	_afu_irq_name_free
Lloh3:
	adrp	x8, _cxl_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cxl_ops@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x2, [x8]
	ldr	x8, [x19], #8
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CPU_FTR_HVMODE,4,2             ; @CPU_FTR_HVMODE
	.comm	_cxl_ops,8,3                    ; @cxl_ops
.subsections_via_symbols
