	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eth_tx
_eth_tx:                                ## @eth_tx
	.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	_ETH_ZLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movslq	(%rdi), %r12
	subl	%r12d, %ebx
	jle	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	callq	_skb_tailroom
	cmpl	%ebx, %eax
	jge	LBB0_3
## %bb.2:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_pskb_expand_head
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	incl	(%r14)
	movq	%r15, %rdi
	callq	_dev_kfree_skb
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_skb_put
	addq	8(%r15), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
LBB0_4:
	movq	%r14, %rdi
	callq	_dev_to_hdlc
	movq	(%rax), %rax
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ZLEN,4,2                   ## @ETH_ZLEN
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_eth_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eth_tx
_eth_tx:                                ; @eth_tx
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ETH_ZLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ZLEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldrsw	x22, [x0]
	sub	w21, w8, w22
	cmp	w21, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_skb_tailroom
	cmp	w0, w21
	b.ge	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	bl	_pskb_expand_head
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	mov	x0, x19
	bl	_dev_kfree_skb
	mov	w0, #0
	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_4:
	mov	x0, x19
	mov	x1, x21
	bl	_skb_put
	ldr	x8, [x19, #8]
	add	x0, x8, x22
	mov	w1, #0
	mov	x2, x21
	bl	_memset
LBB0_5:
	mov	x0, x20
	bl	_dev_to_hdlc
	ldr	x2, [x0]
	mov	x0, x19
	mov	x1, x20
	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
	br	x2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ZLEN,4,2                   ; @ETH_ZLEN
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_eth_tx
.subsections_via_symbols
