	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2_request_irq
_bnx2_request_irq:                      ## @bnx2_request_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	%rdi, %r15
	movq	_BNX2_FLAG_USING_MSI_OR_MSIX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	cmpl	$0, 4(%r15)
	jg	LBB0_4
	jmp	LBB0_8
LBB0_1:
	xorl	%r14d, %r14d
	cmpl	$0, 4(%r15)
	jle	LBB0_8
LBB0_4:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %r13
	movl	12(%r13,%rbx,4), %edi
	movl	4(%r13,%rbx,4), %ecx
	movl	8(%r13,%rbx,4), %esi
	movq	8(%r15), %r8
	addq	%rbx, %r8
	movq	%r14, %rdx
	callq	_request_irq
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, (%r13,%rbx,4)
	incq	%r12
	movslq	4(%r15), %rax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jl	LBB0_5
## %bb.7:
	xorl	%eax, %eax
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2_FLAG_USING_MSI_OR_MSIX,4,2 ## @BNX2_FLAG_USING_MSI_OR_MSIX
	.comm	_IRQF_SHARED,8,3                ## @IRQF_SHARED
	.no_dead_strip	_bnx2_request_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2_request_irq
_bnx2_request_irq:                      ; @bnx2_request_irq
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _BNX2_FLAG_USING_MSI_OR_MSIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2_FLAG_USING_MSI_OR_MSIX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IRQF_SHARED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IRQF_SHARED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldp	w10, w11, [x0]
	tst	w8, w10
	csel	x20, x9, xzr, eq
	cmp	w11, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x21, #0
	mov	x22, #0
	mov	w23, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x24, [x19, #8]
	add	x9, x24, x21, lsl #2
	ldp	w1, w0, [x9, #8]
	ldr	w3, [x9, #4]
	add	x4, x8, x21
	mov	x2, x20
	bl	_request_irq
	cbnz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w23, [x24, x21, lsl #2]
	add	x22, x22, #1
	ldrsw	x8, [x19, #4]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2_FLAG_USING_MSI_OR_MSIX,4,2 ; @BNX2_FLAG_USING_MSI_OR_MSIX
	.comm	_IRQF_SHARED,8,3                ; @IRQF_SHARED
	.no_dead_strip	_bnx2_request_irq
.subsections_via_symbols
