	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __pppoe_xmit
___pppoe_xmit:                          ## @__pppoe_xmit
	.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, %r13
	movq	%rdi, %rbx
	callq	_pppox_sk
	movq	%rax, %r12
	movq	8(%rax), %r15
	movl	(%r13), %r14d
	movq	_SOCK_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sock_flag
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	movq	%r13, %rdi
	callq	_kfree_skb
LBB0_6:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_PPPOX_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.2:
	testq	%r15, %r15
	je	LBB0_5
## %bb.3:
	movq	%r15, %rdi
	callq	_LL_RESERVED_SPACE
	leaq	24(%rax), %rsi
	movq	%r13, %rdi
	callq	_skb_cow_head
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%r13, %rdi
	movl	$24, %esi
	callq	___skb_push
	movq	%r13, %rdi
	callq	_skb_reset_network_header
	movq	%r13, %rdi
	callq	_pppoe_hdr
	movq	%rax, %rbx
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	movq	$0, 16(%rbx)
	movl	4(%r12), %eax
	movl	%eax, 12(%rbx)
	movl	%r14d, %edi
	callq	_htons
	movl	%eax, 8(%rbx)
	movq	_ETH_P_PPP_SES@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_cpu_to_be16
	movl	%eax, 16(%r13)
	movq	%r15, 8(%r13)
	movl	(%rbx), %edx
	movl	(%r12), %ecx
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%r8d, %r8d
	movl	%r14d, %r9d
	callq	_dev_hard_header
	movq	%r13, %rdi
	callq	_dev_queue_xmit
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_DEAD,4,2                  ## @SOCK_DEAD
	.comm	_PPPOX_CONNECTED,4,2            ## @PPPOX_CONNECTED
	.comm	_ETH_P_PPP_SES,4,2              ## @ETH_P_PPP_SES
	.no_dead_strip	___pppoe_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __pppoe_xmit
___pppoe_xmit:                          ; @__pppoe_xmit
	.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	x19, x1
	mov	x23, x0
	bl	_pppox_sk
	mov	x22, x0
	ldr	x21, [x0, #8]
	ldr	w20, [x19]
Lloh0:
	adrp	x8, _SOCK_DEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOCK_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_sock_flag
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x23]
Lloh3:
	adrp	x9, _PPPOX_CONNECTED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PPPOX_CONNECTED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #0
	ccmp	x21, #0, #4, ne
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_LL_RESERVED_SPACE
	add	x1, x0, #24
	mov	x0, x19
	bl	_skb_cow_head
	cbz	x0, LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_kfree_skb
LBB0_4:
	mov	w0, #1
	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
	ret
LBB0_5:
	mov	x0, x19
	mov	w1, #24
	bl	___skb_push
	mov	x0, x19
	bl	_skb_reset_network_header
	mov	x0, x19
	bl	_pppoe_hdr
	mov	x23, x0
	movi.2s	v0, #1
	str	d0, [x0]
	str	xzr, [x0, #16]
	ldr	w8, [x22, #4]
	str	w8, [x0, #12]
	mov	x0, x20
	bl	_htons
	str	w0, [x23, #8]
Lloh6:
	adrp	x23, _ETH_P_PPP_SES@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ETH_P_PPP_SES@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_cpu_to_be16
	str	w0, [x19, #16]
	str	x21, [x19, #8]
	ldr	w2, [x23]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x21
	mov	x4, #0
	mov	x5, x20
	bl	_dev_hard_header
	mov	x0, x19
	bl	_dev_queue_xmit
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_DEAD,4,2                  ; @SOCK_DEAD
	.comm	_PPPOX_CONNECTED,4,2            ; @PPPOX_CONNECTED
	.comm	_ETH_P_PPP_SES,4,2              ; @ETH_P_PPP_SES
	.no_dead_strip	___pppoe_xmit
.subsections_via_symbols
