	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mic_free_irq                   ## -- Begin function mic_free_irq
	.p2align	4, 0x90
_mic_free_irq:                          ## @mic_free_irq
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %r13
	movq	%rsi, %rdi
	callq	_GET_ENTRY
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_GET_OFFSET
	movq	%rax, %rbx
	movl	16(%r15), %ecx
	cmpl	$2, %ecx
	jl	LBB0_3
## %bb.1:
	cmpq	%rcx, %r14
	jae	LBB0_7
## %bb.2:
	movq	32(%r15), %rax
	movl	(%rax,%r14,4), %r13d
	movl	%r13d, %edi
	movq	%r12, %rsi
	callq	_free_irq
	movq	%rbx, %rdi
	callq	_BIT
	notl	%eax
	movq	24(%r15), %rcx
	andl	%eax, (%rcx,%r14,4)
	movq	8(%r15), %rax
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	*(%rax)
	movq	(%r15), %rdi
	addq	$4, %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
LBB0_3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mic_unregister_intr_callback
	movq	%rax, %r12
	movq	_MIC_NUM_OFFSETS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jge	LBB0_8
## %bb.4:
	movq	%r13, %rdi
	callq	_pci_dev_msi_enabled
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_BIT
	notl	%eax
	movq	24(%r15), %rcx
	andl	%eax, (%rcx,%r14,4)
	movq	8(%r15), %rax
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	*(%rax)
LBB0_6:
	movq	(%r15), %rdi
	addq	$4, %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
LBB0_7:
	movq	(%r15), %rdi
	addq	$4, %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
LBB0_8:
	movq	(%r15), %rdi
	addq	$4, %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"entry %d should be < num_irq %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"irq: %d freed\n"

	.comm	_MIC_NUM_OFFSETS,8,3            ## @MIC_NUM_OFFSETS
L_.str.2:                               ## @.str.2
	.asciz	"Error unregistering callback\n"

L_.str.3:                               ## @.str.3
	.asciz	"callback %d unregistered for src: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mic_free_irq                   ; -- Begin function mic_free_irq
	.p2align	2
_mic_free_irq:                          ; @mic_free_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x23, [x0]
	mov	x0, x1
	bl	_GET_ENTRY
	mov	x21, x0
	mov	x0, x20
	bl	_GET_OFFSET
	mov	x20, x0
	ldr	w8, [x19, #16]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.1:
	cmp	x21, x8
	b.hs	LBB0_7
; %bb.2:
	ldr	x8, [x19, #32]
	lsl	x24, x21, #2
	ldr	w23, [x8, x24]
	mov	x0, x23
	mov	x1, x22
	bl	_free_irq
	mov	x0, x20
	bl	_BIT
	ldr	x8, [x19, #24]
	ldr	w9, [x8, x24]
	bic	w9, w9, w0
	str	w9, [x8, x24]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	w3, #0
	blr	x8
	ldr	x8, [x19]
	add	x0, x8, #4
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_dev_dbg
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	bl	_mic_unregister_intr_callback
Lloh2:
	adrp	x8, _MIC_NUM_OFFSETS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MIC_NUM_OFFSETS@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_9
; %bb.4:
	mov	x22, x0
	mov	x0, x23
	bl	_pci_dev_msi_enabled
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x22
	bl	_BIT
	ldr	x8, [x19, #24]
	lsl	x9, x21, #2
	ldr	w10, [x8, x9]
	bic	w10, w10, w0
	str	w10, [x8, x9]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	blr	x8
LBB0_6:
	ldr	x8, [x19]
	add	x0, x8, #4
	str	x22, [sp]
Lloh5:
	adrp	x1, l_.str.3@PAGE
Lloh6:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x20
	bl	_dev_dbg
	b	LBB0_8
LBB0_7:
	ldr	x9, [x19]
	add	x0, x9, #4
	stp	x21, x8, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
	ldr	x8, [x19]
	add	x0, x8, #4
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_dev_warn
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"entry %d should be < num_irq %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"irq: %d freed\n"

	.comm	_MIC_NUM_OFFSETS,8,3            ; @MIC_NUM_OFFSETS
l_.str.2:                               ; @.str.2
	.asciz	"Error unregistering callback\n"

l_.str.3:                               ; @.str.3
	.asciz	"callback %d unregistered for src: %d\n"

.subsections_via_symbols
