	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_free_irq
_bnxt_free_irq:                         ## @bnxt_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
	cmpq	$0, 16(%rdi)
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r14
	cmpq	$0, 8(%rdi)
	je	LBB0_9
## %bb.2:
	cmpl	$0, (%r14)
	jle	LBB0_9
## %bb.3:
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%r12,%rbx), %edi
	movq	8(%r14), %rax
	movl	(%rax,%r13,4), %esi
	callq	_free_irq
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	$0, (%r15)
	incq	%r13
	movslq	(%r14), %rax
	cmpq	%rax, %r13
	jge	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_bnxt_cp_num_to_irq_num
	movq	16(%r14), %r12
	movslq	%eax, %rbx
	shlq	$5, %rbx
	leaq	(%r12,%rbx), %r15
	cmpq	$0, (%r12,%rbx)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 16(%r12,%rbx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%r12,%rbx), %rax
	addq	$16, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	8(%r12,%rbx), %edi
	xorl	%esi, %esi
	callq	_irq_set_affinity_hint
	movl	24(%r12,%rbx), %edi
	callq	_free_cpumask_var
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	jmp	LBB0_7
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bnxt_free_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_free_irq
_bnxt_free_irq:                         ; @bnxt_free_irq
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_9
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x20, #0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x22, x23, lsl #5
	ldr	w0, [x8, #8]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, x20, lsl #2]
	bl	_free_irq
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x21]
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_bnxt_cp_num_to_irq_num
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x22, [x19, #16]
	sxtw	x23, w0
	add	x21, x22, x23, lsl #5
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x24, x21
	ldr	x8, [x24, #16]!
	cbz	x8, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x25, x22, x23, lsl #5
	ldr	w0, [x25, #8]
	mov	x1, #0
	bl	_irq_set_affinity_hint
	ldr	w0, [x25, #24]
	bl	_free_cpumask_var
	str	xzr, [x24]
	b	LBB0_4
LBB0_9:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bnxt_free_irq
.subsections_via_symbols
