	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pch_can_tx_complete
_pch_can_tx_complete:                   ## @pch_can_tx_complete
	.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, %r15
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	8(%rax), %r12
	movq	_PCH_RX_OBJ_END@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	notq	%rsi
	addq	%r15, %rsi
	movq	%r14, %rdi
	callq	_can_get_echo_skb
	movq	_PCH_CMASK_RX_TX_GET@GOTPCREL(%rip), %rax
	movq	_PCH_CMASK_CLRINTPND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$20, %rsi
	callq	_iowrite32
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	$16, %rdi
	movq	%r15, %rsi
	callq	_pch_can_rw_msg_obj
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	$12, %rdi
	callq	_ioread32
	movq	_PCH_IF_MCONT_DLC@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, %edi
	callq	_get_can_dlc
	addl	%eax, 4(%r12)
	incl	(%r12)
	movq	_PCH_TX_OBJ_END@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCH_RX_OBJ_END,8,3             ## @PCH_RX_OBJ_END
	.comm	_PCH_CMASK_RX_TX_GET,4,2        ## @PCH_CMASK_RX_TX_GET
	.comm	_PCH_CMASK_CLRINTPND,4,2        ## @PCH_CMASK_CLRINTPND
	.comm	_PCH_IF_MCONT_DLC,4,2           ## @PCH_IF_MCONT_DLC
	.comm	_PCH_TX_OBJ_END,8,3             ## @PCH_TX_OBJ_END
	.no_dead_strip	_pch_can_tx_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pch_can_tx_complete
_pch_can_tx_complete:                   ; @pch_can_tx_complete
	.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
	bl	_netdev_priv
	mov	x21, x0
	ldr	x22, [x0, #8]
Lloh0:
	adrp	x8, _PCH_RX_OBJ_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCH_RX_OBJ_END@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mvn	x8, x8
	add	x1, x8, x20
	mov	x0, x19
	bl	_can_get_echo_skb
Lloh3:
	adrp	x8, _PCH_CMASK_RX_TX_GET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCH_CMASK_RX_TX_GET@GOTPAGEOFF]
Lloh5:
	adrp	x9, _PCH_CMASK_CLRINTPND@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PCH_CMASK_CLRINTPND@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x21]
	ldr	x8, [x8]
	add	x1, x8, #20
	bl	_iowrite32
	ldr	x8, [x21]
	ldr	x8, [x8]
	add	x0, x8, #16
	mov	x1, x20
	bl	_pch_can_rw_msg_obj
	ldr	x8, [x21]
	ldr	x8, [x8]
	add	x0, x8, #12
	bl	_ioread32
Lloh9:
	adrp	x8, _PCH_IF_MCONT_DLC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PCH_IF_MCONT_DLC@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w0, w8, w0
	bl	_get_can_dlc
	ldp	w9, w8, [x22]
	add	w8, w8, w0
	add	w9, w9, #1
	stp	w9, w8, [x22]
Lloh12:
	adrp	x8, _PCH_TX_OBJ_END@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PCH_TX_OBJ_END@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	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
	b	_netif_wake_queue
LBB0_2:
	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
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCH_RX_OBJ_END,8,3             ; @PCH_RX_OBJ_END
	.comm	_PCH_CMASK_RX_TX_GET,4,2        ; @PCH_CMASK_RX_TX_GET
	.comm	_PCH_CMASK_CLRINTPND,4,2        ; @PCH_CMASK_CLRINTPND
	.comm	_PCH_IF_MCONT_DLC,4,2           ; @PCH_IF_MCONT_DLC
	.comm	_PCH_TX_OBJ_END,8,3             ; @PCH_TX_OBJ_END
	.no_dead_strip	_pch_can_tx_complete
.subsections_via_symbols
