	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netxen_nic_request_irq
_netxen_nic_request_irq:                ## @netxen_nic_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	24(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %ecx
	movq	_NETXEN_NIC_MSIX_ENABLED@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	je	LBB0_2
## %bb.1:
	movq	_netxen_msix_intr@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_2:
	movq	_NETXEN_NIC_MSI_ENABLED@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	testl	%ecx, (%rdx)
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rcx
	cmoveq	(%rcx), %rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	_netxen_msi_intr@GOTPCREL(%rip), %rcx
	cmoveq	_netxen_intr@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	8(%rcx), %ecx
	movl	%ecx, 8(%r13)
	cmpl	$0, 4(%r13)
	jle	LBB0_8
## %bb.4:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %r15
	leaq	(%r15,%r14), %r12
	movl	(%r15,%rbx,8), %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %ecx
	callq	_sprintf
	movl	(%r15,%rbx,8), %ecx
	movl	4(%r15,%rbx,8), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %r8
	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
	incq	%rbx
	movslq	4(%r13), %rax
	addq	$8, %r14
	cmpq	%rax, %rbx
	jl	LBB0_5
## %bb.7:
	xorl	%eax, %eax
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETXEN_NIC_MSIX_ENABLED,4,2    ## @NETXEN_NIC_MSIX_ENABLED
	.comm	_netxen_msix_intr,4,2           ## @netxen_msix_intr
	.comm	_NETXEN_NIC_MSI_ENABLED,4,2     ## @NETXEN_NIC_MSI_ENABLED
	.comm	_netxen_msi_intr,4,2            ## @netxen_msi_intr
	.comm	_IRQF_SHARED,8,3                ## @IRQF_SHARED
	.comm	_netxen_intr,4,2                ## @netxen_intr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s[%d]"

	.no_dead_strip	_netxen_nic_request_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netxen_nic_request_irq
_netxen_nic_request_irq:                ; @netxen_nic_request_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
	mov	x19, x0
	ldr	x25, [x0, #24]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _NETXEN_NIC_MSIX_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETXEN_NIC_MSIX_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x20, #0
Lloh3:
	adrp	x8, _netxen_msix_intr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _netxen_msix_intr@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x9, _NETXEN_NIC_MSI_ENABLED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NETXEN_NIC_MSI_ENABLED@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _IRQF_SHARED@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IRQF_SHARED@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	tst	w9, w8
	csel	x20, x10, xzr, eq
Lloh11:
	adrp	x8, _netxen_msi_intr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _netxen_msi_intr@GOTPAGEOFF]
Lloh13:
	adrp	x9, _netxen_intr@GOTPAGE
Lloh14:
	ldr	x9, [x9, _netxen_intr@GOTPAGEOFF]
	csel	x8, x9, x8, eq
LBB0_3:
	ldr	w21, [x8]
	ldr	w8, [x25, #8]
	str	w8, [x19, #8]
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x26, #0
	mov	x22, #0
Lloh15:
	adrp	x23, l_.str@PAGE
Lloh16:
	add	x23, x23, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x24, x8, x26
	ldr	w0, [x24]
	ldr	x2, [x25]
	mov	x1, x23
	mov	x3, x22
	bl	_sprintf
	ldp	w3, w0, [x24]
	mov	x1, x21
	mov	x2, x20
	mov	x4, x24
	bl	_request_irq
	cbnz	w0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19, #4]
	add	x26, x26, #8
	cmp	x22, x8
	b.lt	LBB0_5
LBB0_7:
	mov	w0, #0
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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_NETXEN_NIC_MSIX_ENABLED,4,2    ; @NETXEN_NIC_MSIX_ENABLED
	.comm	_netxen_msix_intr,4,2           ; @netxen_msix_intr
	.comm	_NETXEN_NIC_MSI_ENABLED,4,2     ; @NETXEN_NIC_MSI_ENABLED
	.comm	_netxen_msi_intr,4,2            ; @netxen_msi_intr
	.comm	_IRQF_SHARED,8,3                ; @IRQF_SHARED
	.comm	_netxen_intr,4,2                ; @netxen_intr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s[%d]"

	.no_dead_strip	_netxen_nic_request_irq
.subsections_via_symbols
