	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usbpn_xmit
_usbpn_xmit:                            ## @usbpn_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
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	(%r13), %rbx
	movq	_ETH_P_PHONET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_4
## %bb.1:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r12
	movl	12(%r15), %edx
	movl	16(%r15), %esi
	movl	8(%r13), %r8d
	movl	12(%r13), %ecx
	movq	_tx_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, (%rsp)
	movq	%r12, %rdi
	callq	_usb_fill_bulk_urb
	movq	_URB_ZERO_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	%r12, %rdi
	callq	_usb_free_urb
LBB0_4:
	movq	%r13, %rdi
	callq	_dev_kfree_skb
	incl	8(%r14)
LBB0_8:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r15, %rbx
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	(%r15), %rax
	incq	%rax
	movq	%rax, (%r15)
	cmpq	(%r14), %rax
	jl	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_netif_stop_queue
LBB0_7:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_PHONET,4,2               ## @ETH_P_PHONET
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_tx_complete,4,2                ## @tx_complete
	.comm	_URB_ZERO_PACKET,4,2            ## @URB_ZERO_PACKET
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_usbpn_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usbpn_xmit
_usbpn_xmit:                            ; @usbpn_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	x20, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
	ldr	x22, [x20]
Lloh0:
	adrp	x8, _ETH_P_PHONET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_PHONET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x22, x0
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x23, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w0, #0
	bl	_usb_alloc_urb
	cbz	x0, LBB0_4
; %bb.2:
	mov	x22, x0
	ldp	w2, w1, [x21, #12]
	ldp	w4, w3, [x20, #8]
Lloh5:
	adrp	x8, _tx_complete@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tx_complete@GOTPAGEOFF]
Lloh7:
	ldr	w5, [x8]
	mov	x6, x20
	bl	_usb_fill_bulk_urb
Lloh8:
	adrp	x8, _URB_ZERO_PACKET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _URB_ZERO_PACKET@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x22]
	ldr	w1, [x23]
	mov	x0, x22
	bl	_usb_submit_urb
	cbz	w0, LBB0_6
; %bb.3:
	mov	x0, x22
	bl	_usb_free_urb
LBB0_4:
	mov	x0, x20
	bl	_dev_kfree_skb
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_5:
Lloh11:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	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_6:
	add	x20, x21, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x21]
	add	x8, x8, #1
	str	x8, [x21]
	ldr	x9, [x19]
	cmp	x8, x9
	b.lt	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_netif_stop_queue
LBB0_8:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_PHONET,4,2               ; @ETH_P_PHONET
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_tx_complete,4,2                ; @tx_complete
	.comm	_URB_ZERO_PACKET,4,2            ; @URB_ZERO_PACKET
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_usbpn_xmit
.subsections_via_symbols
