	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ls_scfg_msi_domain_irq_free
_ls_scfg_msi_domain_irq_free:           ## @ls_scfg_msi_domain_irq_free
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_irq_domain_get_irq_data
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_irq_data_get_irq_chip_data
	movl	(%rbx), %ebx
	testl	%ebx, %ebx
	js	LBB0_2
## %bb.1:
	movq	%rax, %r14
	cmpl	(%rax), %ebx
	jge	LBB0_2
## %bb.3:
	movq	%r14, %r15
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movl	8(%r14), %esi
	movl	%ebx, %edi
	callq	___clear_bit
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to teardown msi. Invalid hwirq %d\n"

	.no_dead_strip	_ls_scfg_msi_domain_irq_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ls_scfg_msi_domain_irq_free
_ls_scfg_msi_domain_irq_free:           ; @ls_scfg_msi_domain_irq_free
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_irq_domain_get_irq_data
	mov	x19, x0
	bl	_irq_data_get_irq_chip_data
	ldr	w19, [x19]
	tbnz	w19, #31, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w19, w8
	b.ge	LBB0_3
; %bb.2:
	add	x21, x20, #4
	mov	x0, x21
	bl	_spin_lock
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	___clear_bit
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock
LBB0_3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pr_err
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to teardown msi. Invalid hwirq %d\n"

	.no_dead_strip	_ls_scfg_msi_domain_irq_free
.subsections_via_symbols
