	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssip_pn_xmit
_ssip_pn_xmit:                          ## @ssip_pn_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, %r14
	movq	%rdi, %r13
	movl	20(%rsi), %edi
	callq	_to_hsi_client
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_hsi_client_drvdata
	movq	%rax, %r12
	movl	16(%r13), %ebx
	movq	_ETH_P_PHONET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpl	%eax, %ebx
	jne	LBB0_9
## %bb.1:
	movl	(%r13), %eax
	movq	_SSIP_MIN_PN_HDR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_9
## %bb.2:
	andl	$3, %eax
	je	LBB0_4
## %bb.3:
	movl	$4, %esi
	subl	%eax, %esi
	movq	%r13, %rdi
	callq	_skb_pad
	testq	%rax, %rax
	jne	LBB0_10
LBB0_4:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_skb_cow_head
	testq	%rax, %rax
	je	LBB0_5
LBB0_9:
	movq	%r13, %rdi
	callq	_dev_kfree_skb
LBB0_10:
	incl	12(%r14)
LBB0_19:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	8(%r13), %rax
	movl	8(%rax), %edi
	callq	_htons
	movq	8(%r13), %rcx
	movl	%eax, 8(%rcx)
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ssip_alloc_data
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	movq	_ssip_tx_data_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	leaq	24(%r12), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_bh
	movq	(%r12), %rax
	movq	_ACTIVE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_bh
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	%rbx, %rdi
	callq	_hsi_free_msg
	jmp	LBB0_9
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_9
LBB0_11:
	leaq	32(%r12), %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	movq	8(%r12), %rax
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%r12)
	cmpq	%rax, (%r14)
	jg	LBB0_13
## %bb.12:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_info
	movq	%r14, %rdi
	callq	_netif_stop_queue
LBB0_13:
	movq	16(%r12), %rax
	movq	_SEND_IDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_15
## %bb.14:
	movq	_WAIT4READY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ssip_set_txstate
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	movq	8(%r12), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	%r15, %rdi
	callq	_hsi_start_tx
	jmp	LBB0_18
LBB0_15:
	movq	_SEND_READY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.16:
	movq	8(%r12), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	addq	$28, %r12
	movq	%r12, %rdi
	callq	_schedule_work
	jmp	LBB0_18
LBB0_17:
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
LBB0_18:
	incl	16(%r14)
	movl	(%r13), %eax
	addl	%eax, 8(%r14)
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_PHONET,4,2               ## @ETH_P_PHONET
	.comm	_SSIP_MIN_PN_HDR,4,2            ## @SSIP_MIN_PN_HDR
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dropping tx data: No memory\n"

	.comm	_ssip_tx_data_complete,4,2      ## @ssip_tx_data_complete
	.comm	_ACTIVE,8,3                     ## @ACTIVE
L_.str.1:                               ## @.str.1
	.asciz	"Dropping tx data: CMT is OFFLINE\n"

L_.str.2:                               ## @.str.2
	.asciz	"TX queue full %d\n"

	.comm	_SEND_IDLE,8,3                  ## @SEND_IDLE
	.comm	_WAIT4READY,4,2                 ## @WAIT4READY
L_.str.3:                               ## @.str.3
	.asciz	"Start TX qlen %d\n"

	.comm	_SEND_READY,8,3                 ## @SEND_READY
L_.str.4:                               ## @.str.4
	.asciz	"Start TX on SEND READY qlen %d\n"

	.no_dead_strip	_ssip_pn_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssip_pn_xmit
_ssip_pn_xmit:                          ; @ssip_pn_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x0
	ldr	w0, [x1, #20]
	bl	_to_hsi_client
	mov	x21, x0
	bl	_hsi_client_drvdata
	mov	x22, x0
	ldr	w23, [x20, #16]
Lloh0:
	adrp	x8, _ETH_P_PHONET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_PHONET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	w23, w0
	b.ne	LBB0_5
; %bb.1:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _SSIP_MIN_PN_HDR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SSIP_MIN_PN_HDR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_5
; %bb.2:
	ands	w8, w8, #0x3
	b.eq	LBB0_4
; %bb.3:
	mov	w9, #4
	sub	w1, w9, w8
	mov	x0, x20
	bl	_skb_pad
	cbnz	x0, LBB0_6
LBB0_4:
	mov	x0, x20
	mov	w1, #0
	bl	_skb_cow_head
	cbz	x0, LBB0_8
LBB0_5:
	mov	x0, x20
	bl	_dev_kfree_skb
LBB0_6:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #8]
	bl	_htons
	ldr	x8, [x20, #8]
	str	w0, [x8, #8]
Lloh6:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x20
	bl	_ssip_alloc_data
	cbz	x0, LBB0_11
; %bb.9:
	mov	x24, x0
Lloh9:
	adrp	x8, _ssip_tx_data_complete@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ssip_tx_data_complete@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	add	x23, x22, #24
	mov	x0, x23
	bl	_spin_lock_bh
	ldr	x8, [x22]
Lloh12:
	adrp	x9, _ACTIVE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ACTIVE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_12
; %bb.10:
	mov	x0, x23
	bl	_spin_unlock_bh
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
	mov	x0, x24
	bl	_hsi_free_msg
	b	LBB0_5
LBB0_11:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
	b	LBB0_5
LBB0_12:
	add	x1, x22, #32
	mov	x0, x24
	bl	_list_add_tail
	ldr	x8, [x22, #8]
	add	x2, x8, #1
	str	x2, [x22, #8]
	ldr	x9, [x19]
	cmp	x9, x8
	b.gt	LBB0_14
; %bb.13:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_dev_info
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_14:
	ldr	x8, [x22, #16]
Lloh21:
	adrp	x9, _SEND_IDLE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SEND_IDLE@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.15:
Lloh24:
	adrp	x8, _WAIT4READY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WAIT4READY@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_ssip_set_txstate
	mov	x0, x23
	bl	_spin_unlock_bh
	ldr	x8, [x22, #8]
	str	x8, [sp]
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
	mov	x0, x21
	bl	_hsi_start_tx
	b	LBB0_19
LBB0_16:
Lloh29:
	adrp	x9, _SEND_READY@GOTPAGE
Lloh30:
	ldr	x9, [x9, _SEND_READY@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.17:
	ldr	x8, [x22, #8]
	str	x8, [sp]
Lloh32:
	adrp	x1, l_.str.4@PAGE
Lloh33:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
	mov	x0, x23
	bl	_spin_unlock_bh
	add	x0, x22, #28
	bl	_schedule_work
	b	LBB0_19
LBB0_18:
	mov	x0, x23
	bl	_spin_unlock_bh
LBB0_19:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	ldr	w8, [x20]
	ldr	w9, [x19, #8]
	add	w8, w9, w8
	str	w8, [x19, #8]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_PHONET,4,2               ; @ETH_P_PHONET
	.comm	_SSIP_MIN_PN_HDR,4,2            ; @SSIP_MIN_PN_HDR
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dropping tx data: No memory\n"

	.comm	_ssip_tx_data_complete,4,2      ; @ssip_tx_data_complete
	.comm	_ACTIVE,8,3                     ; @ACTIVE
l_.str.1:                               ; @.str.1
	.asciz	"Dropping tx data: CMT is OFFLINE\n"

l_.str.2:                               ; @.str.2
	.asciz	"TX queue full %d\n"

	.comm	_SEND_IDLE,8,3                  ; @SEND_IDLE
	.comm	_WAIT4READY,4,2                 ; @WAIT4READY
l_.str.3:                               ; @.str.3
	.asciz	"Start TX qlen %d\n"

	.comm	_SEND_READY,8,3                 ; @SEND_READY
l_.str.4:                               ; @.str.4
	.asciz	"Start TX on SEND READY qlen %d\n"

	.no_dead_strip	_ssip_pn_xmit
.subsections_via_symbols
