	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2_get_regs
_bnx2_get_regs:                         ## @bnx2_get_regs
	.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, %rbx
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	$0, (%r14)
	movq	_BNX2_REGDUMP_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memset
	movl	(%r15), %edi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	_BNX2_REGDUMP_LEN@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_7
## %bb.2:
	xorl	%r12d, %r12d
	leaq	_bnx2_get_regs.reg_boundaries(%rip), %r13
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	2(%rax), %r12d
	movslq	8(%r13,%rax,4), %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx,4), %r14
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_BNX2_REGDUMP_LEN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_BNX2_RD
	movl	%eax, (%r14)
	addl	$4, %ebx
	movslq	%r12d, %rax
	cmpl	4(%r13,%rax,4), %ebx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$4, %r14
	jmp	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @bnx2_get_regs.reg_boundaries
_bnx2_get_regs.reg_boundaries:
	.long	0                               ## 0x0
	.long	152                             ## 0x98
	.long	1024                            ## 0x400
	.long	1116                            ## 0x45c
	.long	2048                            ## 0x800
	.long	2176                            ## 0x880
	.long	3072                            ## 0xc00
	.long	3088                            ## 0xc10
	.long	3120                            ## 0xc30
	.long	3336                            ## 0xd08
	.long	4096                            ## 0x1000
	.long	4124                            ## 0x101c
	.long	4160                            ## 0x1040
	.long	4168                            ## 0x1048
	.long	4224                            ## 0x1080
	.long	4260                            ## 0x10a4
	.long	5120                            ## 0x1400
	.long	5264                            ## 0x1490
	.long	5272                            ## 0x1498
	.long	5360                            ## 0x14f0
	.long	5376                            ## 0x1500
	.long	5468                            ## 0x155c
	.long	5504                            ## 0x1580
	.long	5596                            ## 0x15dc
	.long	5632                            ## 0x1600
	.long	5720                            ## 0x1658
	.long	5760                            ## 0x1680
	.long	5848                            ## 0x16d8
	.long	6144                            ## 0x1800
	.long	6176                            ## 0x1820
	.long	6208                            ## 0x1840
	.long	6228                            ## 0x1854
	.long	6272                            ## 0x1880
	.long	6292                            ## 0x1894
	.long	6400                            ## 0x1900
	.long	6532                            ## 0x1984
	.long	7168                            ## 0x1c00
	.long	7180                            ## 0x1c0c
	.long	7232                            ## 0x1c40
	.long	7252                            ## 0x1c54
	.long	7296                            ## 0x1c80
	.long	7316                            ## 0x1c94
	.long	7424                            ## 0x1d00
	.long	7556                            ## 0x1d84
	.long	8192                            ## 0x2000
	.long	8240                            ## 0x2030
	.long	9152                            ## 0x23c0
	.long	9216                            ## 0x2400
	.long	10240                           ## 0x2800
	.long	10272                           ## 0x2820
	.long	10288                           ## 0x2830
	.long	10320                           ## 0x2850
	.long	11072                           ## 0x2b40
	.long	11280                           ## 0x2c10
	.long	12224                           ## 0x2fc0
	.long	12376                           ## 0x3058
	.long	15360                           ## 0x3c00
	.long	15508                           ## 0x3c94
	.long	16384                           ## 0x4000
	.long	16400                           ## 0x4010
	.long	16512                           ## 0x4080
	.long	16528                           ## 0x4090
	.long	17344                           ## 0x43c0
	.long	17496                           ## 0x4458
	.long	19456                           ## 0x4c00
	.long	19480                           ## 0x4c18
	.long	19520                           ## 0x4c40
	.long	19540                           ## 0x4c54
	.long	20416                           ## 0x4fc0
	.long	20496                           ## 0x5010
	.long	21440                           ## 0x53c0
	.long	21572                           ## 0x5444
	.long	23552                           ## 0x5c00
	.long	23576                           ## 0x5c18
	.long	23680                           ## 0x5c80
	.long	23696                           ## 0x5c90
	.long	24512                           ## 0x5fc0
	.long	24576                           ## 0x6000
	.long	25600                           ## 0x6400
	.long	25640                           ## 0x6428
	.long	26624                           ## 0x6800
	.long	26696                           ## 0x6848
	.long	26700                           ## 0x684c
	.long	26720                           ## 0x6860
	.long	26760                           ## 0x6888
	.long	26896                           ## 0x6910
	.long	32768                           ## 0x8000

	.comm	_BNX2_REGDUMP_LEN,4,2           ## @BNX2_REGDUMP_LEN
	.no_dead_strip	_bnx2_get_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2_get_regs
_bnx2_get_regs:                         ; @bnx2_get_regs
	.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, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x20, x0
	str	xzr, [x21]
Lloh0:
	adrp	x22, _BNX2_REGDUMP_LEN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BNX2_REGDUMP_LEN@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #0
	bl	_memset
	ldr	w0, [x20]
	bl	_netif_running
	ldr	w8, [x22]
	cmp	w0, #0
	ccmp	w8, #1, #8, ne
	b.ge	LBB0_2
LBB0_1:
	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
LBB0_2:
	mov	w24, #0
	mov	w21, #0
	mov	x25, x19
Lloh2:
	adrp	x23, _bnx2_get_regs.reg_boundaries@PAGE
Lloh3:
	add	x23, x23, _bnx2_get_regs.reg_boundaries@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
	cmp	w21, w8
	b.ge	LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_BNX2_RD
	str	w0, [x25], #4
	add	w21, w21, #4
	add	x8, x23, w24, sxtw #2
	ldr	w8, [x8, #4]
	cmp	w21, w8
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x8, w24
	add	x24, x8, #2
	ldrsw	x21, [x23, x24, lsl #2]
	add	x25, x19, x21, lsl #2
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @bnx2_get_regs.reg_boundaries
_bnx2_get_regs.reg_boundaries:
	.long	0                               ; 0x0
	.long	152                             ; 0x98
	.long	1024                            ; 0x400
	.long	1116                            ; 0x45c
	.long	2048                            ; 0x800
	.long	2176                            ; 0x880
	.long	3072                            ; 0xc00
	.long	3088                            ; 0xc10
	.long	3120                            ; 0xc30
	.long	3336                            ; 0xd08
	.long	4096                            ; 0x1000
	.long	4124                            ; 0x101c
	.long	4160                            ; 0x1040
	.long	4168                            ; 0x1048
	.long	4224                            ; 0x1080
	.long	4260                            ; 0x10a4
	.long	5120                            ; 0x1400
	.long	5264                            ; 0x1490
	.long	5272                            ; 0x1498
	.long	5360                            ; 0x14f0
	.long	5376                            ; 0x1500
	.long	5468                            ; 0x155c
	.long	5504                            ; 0x1580
	.long	5596                            ; 0x15dc
	.long	5632                            ; 0x1600
	.long	5720                            ; 0x1658
	.long	5760                            ; 0x1680
	.long	5848                            ; 0x16d8
	.long	6144                            ; 0x1800
	.long	6176                            ; 0x1820
	.long	6208                            ; 0x1840
	.long	6228                            ; 0x1854
	.long	6272                            ; 0x1880
	.long	6292                            ; 0x1894
	.long	6400                            ; 0x1900
	.long	6532                            ; 0x1984
	.long	7168                            ; 0x1c00
	.long	7180                            ; 0x1c0c
	.long	7232                            ; 0x1c40
	.long	7252                            ; 0x1c54
	.long	7296                            ; 0x1c80
	.long	7316                            ; 0x1c94
	.long	7424                            ; 0x1d00
	.long	7556                            ; 0x1d84
	.long	8192                            ; 0x2000
	.long	8240                            ; 0x2030
	.long	9152                            ; 0x23c0
	.long	9216                            ; 0x2400
	.long	10240                           ; 0x2800
	.long	10272                           ; 0x2820
	.long	10288                           ; 0x2830
	.long	10320                           ; 0x2850
	.long	11072                           ; 0x2b40
	.long	11280                           ; 0x2c10
	.long	12224                           ; 0x2fc0
	.long	12376                           ; 0x3058
	.long	15360                           ; 0x3c00
	.long	15508                           ; 0x3c94
	.long	16384                           ; 0x4000
	.long	16400                           ; 0x4010
	.long	16512                           ; 0x4080
	.long	16528                           ; 0x4090
	.long	17344                           ; 0x43c0
	.long	17496                           ; 0x4458
	.long	19456                           ; 0x4c00
	.long	19480                           ; 0x4c18
	.long	19520                           ; 0x4c40
	.long	19540                           ; 0x4c54
	.long	20416                           ; 0x4fc0
	.long	20496                           ; 0x5010
	.long	21440                           ; 0x53c0
	.long	21572                           ; 0x5444
	.long	23552                           ; 0x5c00
	.long	23576                           ; 0x5c18
	.long	23680                           ; 0x5c80
	.long	23696                           ; 0x5c90
	.long	24512                           ; 0x5fc0
	.long	24576                           ; 0x6000
	.long	25600                           ; 0x6400
	.long	25640                           ; 0x6428
	.long	26624                           ; 0x6800
	.long	26696                           ; 0x6848
	.long	26700                           ; 0x684c
	.long	26720                           ; 0x6860
	.long	26760                           ; 0x6888
	.long	26896                           ; 0x6910
	.long	32768                           ; 0x8000

	.comm	_BNX2_REGDUMP_LEN,4,2           ; @BNX2_REGDUMP_LEN
	.no_dead_strip	_bnx2_get_regs
.subsections_via_symbols
