	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function myri10ge_free_irq
_myri10ge_free_irq:                     ## @myri10ge_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	40(%rdi), %r14
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.1:
	cmpl	$0, (%r15)
	jle	LBB0_5
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rax
	movl	(%rax,%rbx), %edi
	movq	24(%r15), %rsi
	addq	%rbx, %rsi
	callq	_free_irq
	incq	%r12
	movslq	(%r15), %rax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jl	LBB0_3
LBB0_5:
	cmpq	$0, 16(%r15)
	je	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	callq	_pci_disable_msi
LBB0_7:
	cmpq	$0, 8(%r15)
	je	LBB0_8
## %bb.9:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pci_disable_msix               ## TAILCALL
LBB0_4:
	movl	(%r14), %edi
	movq	24(%r15), %rsi
	callq	_free_irq
	cmpq	$0, 16(%r15)
	jne	LBB0_6
	jmp	LBB0_7
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_myri10ge_free_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function myri10ge_free_irq
_myri10ge_free_irq:                     ; @myri10ge_free_irq
	.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
	mov	x20, x0
	ldr	x19, [x0, #40]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_8
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x21, #0
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x20, #24]
	ldr	w0, [x8, x21]
	add	x1, x9, x21
	bl	_free_irq
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_3
LBB0_4:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_pci_disable_msi
LBB0_6:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_9
; %bb.7:
	mov	x0, 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	_pci_disable_msix
LBB0_8:
	ldr	w0, [x19]
	ldr	x1, [x20, #24]
	bl	_free_irq
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_5
	b	LBB0_6
LBB0_9:
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_myri10ge_free_irq
.subsections_via_symbols
