	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nps_enet_send_frame
_nps_enet_send_frame:                   ## @nps_enet_send_frame
	.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	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movswl	(%rbx), %r14d
	movl	%r14d, %edi
	movl	$8, %esi
	callq	_DIV_ROUND_UP
	movq	%rax, %r12
	movq	8(%rbx), %rbx
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_IS_ALIGNED
	testl	%eax, %eax
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_1
## %bb.5:
	movq	_NPS_ENET_REG_TX_BUF@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r15), %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_iowrite32_rep
	jmp	LBB0_4
LBB0_1:
	testq	%r12, %r12
	jle	LBB0_4
## %bb.2:
	movq	_NPS_ENET_REG_TX_BUF@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %r13
	movq	%rbx, %rdi
	callq	_get_unaligned_be32
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	callq	_nps_enet_reg_set
	addq	$8, %rbx
	decq	%r12
	jne	LBB0_3
LBB0_4:
	movq	_TX_CTL_NT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	shll	%cl, %esi
	movq	_NPS_ENET_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_TX_CTL_CT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %rdx
	movslq	%esi, %rax
	orq	%rax, %rdx
	movq	_NPS_ENET_REG_TX_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nps_enet_reg_set               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NPS_ENET_REG_TX_BUF,8,3        ## @NPS_ENET_REG_TX_BUF
	.comm	_TX_CTL_NT_SHIFT,2,1            ## @TX_CTL_NT_SHIFT
	.comm	_NPS_ENET_ENABLE,8,3            ## @NPS_ENET_ENABLE
	.comm	_TX_CTL_CT_SHIFT,8,3            ## @TX_CTL_CT_SHIFT
	.comm	_NPS_ENET_REG_TX_CTL,8,3        ## @NPS_ENET_REG_TX_CTL
	.no_dead_strip	_nps_enet_send_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nps_enet_send_frame
_nps_enet_send_frame:                   ; @nps_enet_send_frame
	.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
	mov	x22, x1
	bl	_netdev_priv
	mov	x19, x0
	ldrsh	w20, [x22]
	mov	x0, x20
	mov	w1, #8
	bl	_DIV_ROUND_UP
	mov	x21, x0
	ldr	x22, [x22, #8]
	mov	x0, x22
	mov	w1, #8
	bl	_IS_ALIGNED
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _NPS_ENET_REG_TX_BUF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NPS_ENET_REG_TX_BUF@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	x1, x22
	mov	x2, x21
	bl	_iowrite32_rep
	b	LBB0_5
LBB0_2:
	cmp	x21, #1
	b.lt	LBB0_5
; %bb.3:
Lloh3:
	adrp	x24, _NPS_ENET_REG_TX_BUF@GOTPAGE
Lloh4:
	ldr	x24, [x24, _NPS_ENET_REG_TX_BUF@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x24]
	mov	x0, x22
	bl	_get_unaligned_be32
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_nps_enet_reg_set
	add	x22, x22, #8
	subs	x21, x21, #1
	b.ne	LBB0_4
LBB0_5:
Lloh5:
	adrp	x8, _TX_CTL_NT_SHIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TX_CTL_NT_SHIFT@GOTPAGEOFF]
	ldrh	w8, [x8]
	lsl	w8, w20, w8
	sxtw	x8, w8
Lloh7:
	adrp	x9, _NPS_ENET_ENABLE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _NPS_ENET_ENABLE@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
Lloh10:
	adrp	x10, _TX_CTL_CT_SHIFT@GOTPAGE
Lloh11:
	ldr	x10, [x10, _TX_CTL_CT_SHIFT@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	lsl	x9, x9, x10
	orr	x2, x9, x8
Lloh13:
	adrp	x8, _NPS_ENET_REG_TX_CTL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NPS_ENET_REG_TX_CTL@GOTPAGEOFF]
Lloh15:
	ldr	x1, [x8]
	mov	x0, x19
	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
	b	_nps_enet_reg_set
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_NPS_ENET_REG_TX_BUF,8,3        ; @NPS_ENET_REG_TX_BUF
	.comm	_TX_CTL_NT_SHIFT,2,1            ; @TX_CTL_NT_SHIFT
	.comm	_NPS_ENET_ENABLE,8,3            ; @NPS_ENET_ENABLE
	.comm	_TX_CTL_CT_SHIFT,8,3            ; @TX_CTL_CT_SHIFT
	.comm	_NPS_ENET_REG_TX_CTL,8,3        ; @NPS_ENET_REG_TX_CTL
	.no_dead_strip	_nps_enet_send_frame
.subsections_via_symbols
