	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netdev_get_regs
_netdev_get_regs:                       ## @netdev_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, %r13
	movq	%rsi, %r15
	callq	_netdev_priv
	movq	(%rax), %r14
	movq	_hw_regs_range@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	$0, (%r15)
	movl	4(%r14), %edi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_pci_read_config_dword
	leaq	4(%r13), %rdx
	movl	4(%r14), %edi
	movl	$4, %esi
	callq	_pci_read_config_dword
	leaq	8(%r13), %rdx
	movl	4(%r14), %edi
	movl	$8, %esi
	callq	_pci_read_config_dword
	leaq	12(%r13), %rdx
	movl	4(%r14), %edi
	movl	$12, %esi
	callq	_pci_read_config_dword
	leaq	16(%r13), %rdx
	movl	4(%r14), %edi
	movl	$16, %esi
	callq	_pci_read_config_dword
	leaq	20(%r13), %rdx
	movl	4(%r14), %edi
	movl	$20, %esi
	callq	_pci_read_config_dword
	leaq	24(%r13), %rdx
	movl	4(%r14), %edi
	movl	$24, %esi
	callq	_pci_read_config_dword
	leaq	28(%r13), %rdx
	movl	4(%r14), %edi
	movl	$28, %esi
	callq	_pci_read_config_dword
	leaq	32(%r13), %rdx
	movl	4(%r14), %edi
	movl	$32, %esi
	callq	_pci_read_config_dword
	leaq	36(%r13), %rdx
	movl	4(%r14), %edi
	movl	$36, %esi
	callq	_pci_read_config_dword
	leaq	40(%r13), %rdx
	movl	4(%r14), %edi
	movl	$40, %esi
	callq	_pci_read_config_dword
	leaq	44(%r13), %rdx
	movl	4(%r14), %edi
	movl	$44, %esi
	callq	_pci_read_config_dword
	leaq	48(%r13), %rdx
	movl	4(%r14), %edi
	movl	$48, %esi
	callq	_pci_read_config_dword
	leaq	52(%r13), %rdx
	movl	4(%r14), %edi
	movl	$52, %esi
	callq	_pci_read_config_dword
	leaq	56(%r13), %rdx
	movl	4(%r14), %edi
	movl	$56, %esi
	callq	_pci_read_config_dword
	leaq	60(%r13), %rdx
	movl	4(%r14), %edi
	movl	$60, %esi
	callq	_pci_read_config_dword
	movl	(%r12), %ecx
	movl	4(%r12), %eax
	cmpl	%eax, %ecx
	jle	LBB0_6
## %bb.1:
	addq	$64, %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r12), %ecx
	movl	12(%r12), %eax
	addq	$8, %r12
	cmpl	%eax, %ecx
	jle	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	cmpl	%ecx, %eax
	jge	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%eax, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r14), %rdi
	addq	%rbx, %rdi
	callq	_readl
	movl	%eax, (%r13)
	addq	$4, %r13
	addq	$4, %rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
	jmp	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_hw_regs_range,8,3              ## @hw_regs_range
	.no_dead_strip	_netdev_get_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netdev_get_regs
_netdev_get_regs:                       ; @netdev_get_regs
	.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, x2
	mov	x21, x1
	bl	_netdev_priv
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _hw_regs_range@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hw_regs_range@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	mov	x0, x19
	bl	_mutex_lock
	str	xzr, [x21]
	ldr	w0, [x19, #4]
	mov	w1, #0
	mov	x2, x20
	bl	_pci_read_config_dword
	add	x2, x20, #4
	ldr	w0, [x19, #4]
	mov	w1, #4
	bl	_pci_read_config_dword
	add	x2, x20, #8
	ldr	w0, [x19, #4]
	mov	w1, #8
	bl	_pci_read_config_dword
	add	x2, x20, #12
	ldr	w0, [x19, #4]
	mov	w1, #12
	bl	_pci_read_config_dword
	add	x2, x20, #16
	ldr	w0, [x19, #4]
	mov	w1, #16
	bl	_pci_read_config_dword
	add	x2, x20, #20
	ldr	w0, [x19, #4]
	mov	w1, #20
	bl	_pci_read_config_dword
	add	x2, x20, #24
	ldr	w0, [x19, #4]
	mov	w1, #24
	bl	_pci_read_config_dword
	add	x2, x20, #28
	ldr	w0, [x19, #4]
	mov	w1, #28
	bl	_pci_read_config_dword
	add	x2, x20, #32
	ldr	w0, [x19, #4]
	mov	w1, #32
	bl	_pci_read_config_dword
	add	x2, x20, #36
	ldr	w0, [x19, #4]
	mov	w1, #36
	bl	_pci_read_config_dword
	add	x2, x20, #40
	ldr	w0, [x19, #4]
	mov	w1, #40
	bl	_pci_read_config_dword
	add	x2, x20, #44
	ldr	w0, [x19, #4]
	mov	w1, #44
	bl	_pci_read_config_dword
	add	x2, x20, #48
	ldr	w0, [x19, #4]
	mov	w1, #48
	bl	_pci_read_config_dword
	add	x2, x20, #52
	ldr	w0, [x19, #4]
	mov	w1, #52
	bl	_pci_read_config_dword
	add	x2, x20, #56
	ldr	w0, [x19, #4]
	mov	w1, #56
	bl	_pci_read_config_dword
	add	x2, x20, #60
	ldr	w0, [x19, #4]
	mov	w1, #60
	bl	_pci_read_config_dword
	ldp	w9, w8, [x22]
	cmp	w9, w8
	b.le	LBB0_6
; %bb.1:
	add	x20, x20, #64
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	w9, w8, [x22, #8]!
	cmp	w9, w8
	b.le	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w8, w9
	b.ge	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x21, w8
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #8]
	add	x0, x21, x8
	bl	_readl
	str	w0, [x20], #4
	add	x21, x21, #4
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.lt	LBB0_5
	b	LBB0_2
LBB0_6:
	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	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_hw_regs_range,8,3              ; @hw_regs_range
	.no_dead_strip	_netdev_get_regs
.subsections_via_symbols
