	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cc770_tx
_cc770_tx:                              ## @cc770_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	callq	_netdev_priv
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movl	(%rcx), %r14d
	movl	4(%rcx), %r15d
	movq	_CAN_RTR_FLAG@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	movl	(%rax), %eax
	andl	%r15d, %eax
	jne	LBB0_2
## %bb.1:
	movq	_MSGCFG_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_2:
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	_msgobj@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movslq	%ebx, %rbx
	movq	_MSGVAL_RES@GOTPCREL(%rip), %rcx
	movq	_TXIE_RES@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	shlq	$5, %rbx
	movq	_RXIE_RES@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax,%rbx), %esi
	movq	_INTPND_RES@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_cc770_write_reg
	movq	_RMTPND_RES@GOTPCREL(%rip), %rax
	movq	_TXRQST_RES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	(%r13), %rax
	movq	_CPUUPD_SET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	4(%rax,%rbx), %esi
	movq	_NEWDAT_RES@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_cc770_write_reg
	movq	_CAN_EFF_FLAG@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_CAN_EFF_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	movq	(%r13), %rax
	movl	24(%rax,%rbx), %esi
	movl	%r14d, %eax
	shll	$4, %eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	orl	%eax, %edx
	movq	_MSGCFG_XTD@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r12, %rdi
	callq	_cc770_write_reg
	movq	(%r13), %rax
	movq	16(%rax,%rbx), %rax
	movl	12(%rax), %esi
	leal	(,%r15,8), %edx
	movq	%r12, %rdi
	callq	_cc770_write_reg
	movq	(%r13), %rax
	movq	16(%rax,%rbx), %rax
	movl	8(%rax), %esi
	movl	%r15d, %edx
	sarl	$5, %edx
	movq	%r12, %rdi
	callq	_cc770_write_reg
	movq	(%r13), %rax
	movq	16(%rax,%rbx), %rax
	movl	4(%rax), %esi
	movl	%r15d, %edx
	sarl	$13, %edx
	movq	%r12, %rdi
	callq	_cc770_write_reg
	movq	%r15, %rdx
	movq	%r13, %r15
	movq	(%r13), %rax
	movq	%rbx, %r13
	movq	16(%rax,%rbx), %rax
	movl	(%rax), %esi
	sarl	$21, %edx
	jmp	LBB0_5
LBB0_4:
	movq	_CAN_SFF_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	movq	(%r13), %rax
	movl	24(%rax,%rbx), %esi
	movl	%r14d, %eax
	shll	$4, %eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	orl	%eax, %edx
	movq	%r12, %rdi
	callq	_cc770_write_reg
	movq	(%r13), %rax
	movq	16(%rax,%rbx), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	sarl	$3, %edx
	movq	%r12, %rdi
	callq	_cc770_write_reg
	movq	%r15, %rdx
	movq	%r13, %r15
	movq	(%r13), %rax
	movq	%rbx, %r13
	movq	16(%rax,%rbx), %rax
	movl	4(%rax), %esi
	shll	$5, %edx
LBB0_5:
	movq	%r12, %rbx
	movq	%r12, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_cc770_write_reg
	testl	%r14d, %r14d
	movq	%r15, %rsi
	movq	%r14, %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r13, %r12
	jle	LBB0_8
## %bb.6:
	xorl	%r13d, %r13d
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rax
	movq	8(%rax,%r12), %rax
	movq	%rsi, %r15
	movl	(%rax,%r13,4), %esi
	movq	8(%r14), %rax
	movl	(%rax,%r13,4), %edx
	movq	%rbx, %rdi
	callq	_cc770_write_reg
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, %rsi
	incq	%r13
	cmpq	%r13, %rax
	jne	LBB0_7
LBB0_8:
	movq	_RMTPND_UNC@GOTPCREL(%rip), %rax
	movq	_TXRQST_SET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	(%rsi), %rax
	movq	_CPUUPD_RES@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	%rsi, %r14
	movl	4(%rax,%r12), %esi
	movq	_NEWDAT_UNC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_cc770_write_reg
	movq	_MSGVAL_SET@GOTPCREL(%rip), %rax
	movq	_TXIE_SET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_RXIE_SET@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	(%r14), %rax
	movl	(%rax,%r12), %esi
	movq	_INTPND_UNC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cc770_write_reg                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CAN_RTR_FLAG,4,2               ## @CAN_RTR_FLAG
	.comm	_MSGCFG_DIR,4,2                 ## @MSGCFG_DIR
	.comm	_msgobj,8,3                     ## @msgobj
	.comm	_MSGVAL_RES,4,2                 ## @MSGVAL_RES
	.comm	_TXIE_RES,4,2                   ## @TXIE_RES
	.comm	_RXIE_RES,4,2                   ## @RXIE_RES
	.comm	_INTPND_RES,4,2                 ## @INTPND_RES
	.comm	_RMTPND_RES,4,2                 ## @RMTPND_RES
	.comm	_TXRQST_RES,4,2                 ## @TXRQST_RES
	.comm	_CPUUPD_SET,4,2                 ## @CPUUPD_SET
	.comm	_NEWDAT_RES,4,2                 ## @NEWDAT_RES
	.comm	_CAN_EFF_FLAG,4,2               ## @CAN_EFF_FLAG
	.comm	_CAN_EFF_MASK,4,2               ## @CAN_EFF_MASK
	.comm	_MSGCFG_XTD,4,2                 ## @MSGCFG_XTD
	.comm	_CAN_SFF_MASK,4,2               ## @CAN_SFF_MASK
	.comm	_RMTPND_UNC,4,2                 ## @RMTPND_UNC
	.comm	_TXRQST_SET,4,2                 ## @TXRQST_SET
	.comm	_CPUUPD_RES,4,2                 ## @CPUUPD_RES
	.comm	_NEWDAT_UNC,4,2                 ## @NEWDAT_UNC
	.comm	_MSGVAL_SET,4,2                 ## @MSGVAL_SET
	.comm	_TXIE_SET,4,2                   ## @TXIE_SET
	.comm	_RXIE_SET,4,2                   ## @RXIE_SET
	.comm	_INTPND_UNC,4,2                 ## @INTPND_UNC
	.no_dead_strip	_cc770_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cc770_tx
_cc770_tx:                              ; @cc770_tx
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x22, [x8]
	ldp	w24, w26, [x22]
Lloh0:
	adrp	x8, _CAN_RTR_FLAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAN_RTR_FLAG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MSGCFG_DIR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MSGCFG_DIR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w26
	csel	w25, w9, wzr, eq
Lloh6:
	adrp	x21, _msgobj@GOTPAGE
Lloh7:
	ldr	x21, [x21, _msgobj@GOTPAGEOFF]
	ldr	x8, [x21]
	sxtw	x23, w20
	sbfiz	x20, x20, #5, #32
	ldr	w1, [x8, x20]
Lloh8:
	adrp	x8, _MSGVAL_RES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSGVAL_RES@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _TXIE_RES@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TXIE_RES@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _RXIE_RES@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RXIE_RES@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _INTPND_RES@GOTPAGE
Lloh18:
	ldr	x9, [x9, _INTPND_RES@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w2, w8, w9
	bl	_cc770_write_reg
	ldr	x8, [x21]
	add	x8, x8, x20
	ldr	w1, [x8, #4]
Lloh20:
	adrp	x8, _RMTPND_RES@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RMTPND_RES@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _TXRQST_RES@GOTPAGE
Lloh24:
	ldr	x9, [x9, _TXRQST_RES@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh26:
	adrp	x9, _CPUUPD_SET@GOTPAGE
Lloh27:
	ldr	x9, [x9, _CPUUPD_SET@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh29:
	adrp	x9, _NEWDAT_RES@GOTPAGE
Lloh30:
	ldr	x9, [x9, _NEWDAT_RES@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_cc770_write_reg
Lloh32:
	adrp	x8, _CAN_EFF_FLAG@GOTPAGE
Lloh33:
	ldr	x8, [x8, _CAN_EFF_FLAG@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	lsl	x20, x23, #5
	tst	w8, w26
	b.eq	LBB0_2
; %bb.1:
Lloh35:
	adrp	x8, _CAN_EFF_MASK@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CAN_EFF_MASK@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	and	w26, w8, w26
	ldr	x8, [x21]
	add	x8, x8, x20
	ldr	w1, [x8, #24]
	orr	w8, w25, w24, lsl #4
Lloh38:
	adrp	x9, _MSGCFG_XTD@GOTPAGE
Lloh39:
	ldr	x9, [x9, _MSGCFG_XTD@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_cc770_write_reg
	ldr	x8, [x21]
	add	x8, x8, x20
	ldr	x8, [x8, #16]
	ldr	w1, [x8, #12]
	lsl	w2, w26, #3
	mov	x0, x19
	bl	_cc770_write_reg
	ldr	x8, [x21]
	add	x8, x8, x20
	ldr	x8, [x8, #16]
	ldr	w1, [x8, #8]
	asr	w2, w26, #5
	mov	x0, x19
	bl	_cc770_write_reg
	ldr	x8, [x21]
	add	x8, x8, x20
	ldr	x8, [x8, #16]
	ldr	w1, [x8, #4]
	asr	w2, w26, #13
	mov	x0, x19
	bl	_cc770_write_reg
	ldr	x8, [x21]
	add	x8, x8, x20
	ldr	x8, [x8, #16]
	ldr	w1, [x8]
	asr	w2, w26, #21
	b	LBB0_3
LBB0_2:
Lloh41:
	adrp	x8, _CAN_SFF_MASK@GOTPAGE
Lloh42:
	ldr	x8, [x8, _CAN_SFF_MASK@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	and	w26, w8, w26
	ldr	x8, [x21]
	add	x8, x8, x20
	ldr	w1, [x8, #24]
	orr	w2, w25, w24, lsl #4
	mov	x0, x19
	bl	_cc770_write_reg
	ldr	x8, [x21]
	add	x8, x8, x20
	ldr	x8, [x8, #16]
	ldr	w1, [x8]
	asr	w2, w26, #3
	mov	x0, x19
	bl	_cc770_write_reg
	ldr	x8, [x21]
	add	x8, x8, x20
	ldr	x8, [x8, #16]
	ldr	w1, [x8, #4]
	lsl	w2, w26, #5
LBB0_3:
	mov	x0, x19
	bl	_cc770_write_reg
	cmp	w24, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x25, #0
	lsl	x24, x24, #2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x8, x8, x23, lsl #5
	ldr	x8, [x8, #8]
	ldr	w1, [x8, x25]
	ldr	x8, [x22, #8]
	ldr	w2, [x8, x25]
	mov	x0, x19
	bl	_cc770_write_reg
	add	x25, x25, #4
	cmp	x24, x25
	b.ne	LBB0_5
LBB0_6:
	ldr	x8, [x21]
	add	x8, x8, x20
	ldr	w1, [x8, #4]
Lloh44:
	adrp	x8, _RMTPND_UNC@GOTPAGE
Lloh45:
	ldr	x8, [x8, _RMTPND_UNC@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
Lloh47:
	adrp	x9, _TXRQST_SET@GOTPAGE
Lloh48:
	ldr	x9, [x9, _TXRQST_SET@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh50:
	adrp	x9, _CPUUPD_RES@GOTPAGE
Lloh51:
	ldr	x9, [x9, _CPUUPD_RES@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh53:
	adrp	x9, _NEWDAT_UNC@GOTPAGE
Lloh54:
	ldr	x9, [x9, _NEWDAT_UNC@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_cc770_write_reg
	ldr	x8, [x21]
	ldr	w1, [x8, x20]
Lloh56:
	adrp	x8, _MSGVAL_SET@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MSGVAL_SET@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
Lloh59:
	adrp	x9, _TXIE_SET@GOTPAGE
Lloh60:
	ldr	x9, [x9, _TXIE_SET@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh62:
	adrp	x9, _RXIE_SET@GOTPAGE
Lloh63:
	ldr	x9, [x9, _RXIE_SET@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
Lloh65:
	adrp	x10, _INTPND_UNC@GOTPAGE
Lloh66:
	ldr	x10, [x10, _INTPND_UNC@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh67:
	ldr	w9, [x10]
	orr	w2, w8, w9
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_cc770_write_reg
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_CAN_RTR_FLAG,4,2               ; @CAN_RTR_FLAG
	.comm	_MSGCFG_DIR,4,2                 ; @MSGCFG_DIR
	.comm	_msgobj,8,3                     ; @msgobj
	.comm	_MSGVAL_RES,4,2                 ; @MSGVAL_RES
	.comm	_TXIE_RES,4,2                   ; @TXIE_RES
	.comm	_RXIE_RES,4,2                   ; @RXIE_RES
	.comm	_INTPND_RES,4,2                 ; @INTPND_RES
	.comm	_RMTPND_RES,4,2                 ; @RMTPND_RES
	.comm	_TXRQST_RES,4,2                 ; @TXRQST_RES
	.comm	_CPUUPD_SET,4,2                 ; @CPUUPD_SET
	.comm	_NEWDAT_RES,4,2                 ; @NEWDAT_RES
	.comm	_CAN_EFF_FLAG,4,2               ; @CAN_EFF_FLAG
	.comm	_CAN_EFF_MASK,4,2               ; @CAN_EFF_MASK
	.comm	_MSGCFG_XTD,4,2                 ; @MSGCFG_XTD
	.comm	_CAN_SFF_MASK,4,2               ; @CAN_SFF_MASK
	.comm	_RMTPND_UNC,4,2                 ; @RMTPND_UNC
	.comm	_TXRQST_SET,4,2                 ; @TXRQST_SET
	.comm	_CPUUPD_RES,4,2                 ; @CPUUPD_RES
	.comm	_NEWDAT_UNC,4,2                 ; @NEWDAT_UNC
	.comm	_MSGVAL_SET,4,2                 ; @MSGVAL_SET
	.comm	_TXIE_SET,4,2                   ; @TXIE_SET
	.comm	_RXIE_SET,4,2                   ; @RXIE_SET
	.comm	_INTPND_UNC,4,2                 ; @INTPND_UNC
	.no_dead_strip	_cc770_tx
.subsections_via_symbols
