	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skfp_send_pkt
_skfp_send_pkt:                         ## @skfp_send_pkt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	(%r15), %rax
	movq	_FDDI_K_LLC_ZLEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_2
## %bb.1:
	movq	_FDDI_K_LLC_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_2
## %bb.3:
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	decq	%rax
	movq	%rax, (%r12)
	movq	%r12, %rdi
	addq	$8, %rdi
	movq	%r15, %rsi
	callq	_skb_queue_tail
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	%rax, %rdi
	callq	_send_queued_packets
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rbx
	cmpq	$0, (%r12)
	jne	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_netif_stop_queue
	jmp	LBB0_7
LBB0_2:
	incl	12(%r12)
	movq	%r14, %rdi
	callq	_netif_start_queue
	movq	%r15, %rdi
	callq	_dev_kfree_skb
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rbx
	jmp	LBB0_7
LBB0_4:
	movq	%r14, %rdi
	callq	_netif_stop_queue
	movq	_NETDEV_TX_BUSY@GOTPCREL(%rip), %rbx
LBB0_7:
	movl	(%rbx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"skfp_send_pkt\n"

	.comm	_FDDI_K_LLC_ZLEN,8,3            ## @FDDI_K_LLC_ZLEN
	.comm	_FDDI_K_LLC_LEN,8,3             ## @FDDI_K_LLC_LEN
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_NETDEV_TX_BUSY,4,2             ## @NETDEV_TX_BUSY
	.no_dead_strip	_skfp_send_pkt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skfp_send_pkt
_skfp_send_pkt:                         ; @skfp_send_pkt
	.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	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _FDDI_K_LLC_ZLEN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FDDI_K_LLC_ZLEN@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _FDDI_K_LLC_LEN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _FDDI_K_LLC_LEN@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #0, ge
	b.le	LBB0_2
; %bb.1:
	ldr	w8, [x20, #12]
	add	w8, w8, #1
	str	w8, [x20, #12]
	mov	x0, x19
	bl	_netif_start_queue
	mov	x0, x21
	bl	_dev_kfree_skb
	b	LBB0_5
LBB0_2:
	ldr	x8, [x20]
	cbz	x8, LBB0_7
; %bb.3:
	sub	x8, x8, #1
	str	x8, [x20]
	add	x0, x20, #8
	mov	x1, x21
	bl	_skb_queue_tail
	mov	x0, x19
	bl	_netdev_priv
	bl	_send_queued_packets
	ldr	x8, [x20]
	cbnz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_5:
Lloh8:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	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
	ret
LBB0_7:
	mov	x0, x19
	bl	_netif_stop_queue
Lloh10:
	adrp	x8, _NETDEV_TX_BUSY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"skfp_send_pkt\n"

	.comm	_FDDI_K_LLC_ZLEN,8,3            ; @FDDI_K_LLC_ZLEN
	.comm	_FDDI_K_LLC_LEN,8,3             ; @FDDI_K_LLC_LEN
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_NETDEV_TX_BUSY,4,2             ; @NETDEV_TX_BUSY
	.no_dead_strip	_skfp_send_pkt
.subsections_via_symbols
