	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tms380tr_init_opb
_tms380tr_init_opb:                     ## @tms380tr_init_opb
	.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	%rdi, %r13
	movq	_RPL_SIZE@GOTPCREL(%rip), %rax
	movzwl	(%rax), %r12d
	movq	_TPL_SIZE@GOTPCREL(%rip), %rax
	movzwl	(%rax), %r15d
	movq	_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movzwl	(%rax), %r14d
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_ENABLE_FULL_DUPLEX_SELECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%rbx)
	movq	_OPEN_FULL_DUPLEX_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	(%r13), %rax
	movb	(%rax), %al
	movq	(%rbx), %rcx
	movb	%al, (%rcx)
	movq	(%r13), %rax
	movb	1(%rax), %al
	movq	(%rbx), %rcx
	movb	%al, 1(%rcx)
	movq	(%r13), %rax
	movb	2(%rax), %al
	movq	(%rbx), %rcx
	movb	%al, 2(%rcx)
	movq	(%r13), %rax
	movb	3(%rax), %al
	movq	(%rbx), %rcx
	movb	%al, 3(%rcx)
	movq	(%r13), %rax
	movb	4(%rax), %al
	movq	(%rbx), %rcx
	movb	%al, 4(%rcx)
	movq	(%r13), %rax
	movb	5(%rax), %al
	movq	(%rbx), %rcx
	movb	%al, 5(%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	movl	%r12d, %edi
	callq	_cpu_to_be16
	movq	%rax, 48(%rbx)
	movl	%r15d, %edi
	callq	_cpu_to_be16
	movq	%rax, 40(%rbx)
	movl	%r14d, %edi
	callq	_cpu_to_be16
	movq	%rax, 32(%rbx)
	movq	$0, 24(%rbx)
	movq	_TX_BUF_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_TX_BUF_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	88(%rbx), %rdi
	subq	%rbx, %rdi
	addq	80(%rbx), %rdi
	callq	_htonl
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_LOWORD
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	callq	_HIWORD
	movq	8(%rbx), %rcx
	movl	%eax, 4(%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RPL_SIZE,2,1                   ## @RPL_SIZE
	.comm	_TPL_SIZE,2,1                   ## @TPL_SIZE
	.comm	_BUFFER_SIZE,2,1                ## @BUFFER_SIZE
	.comm	_ENABLE_FULL_DUPLEX_SELECTION,4,2 ## @ENABLE_FULL_DUPLEX_SELECTION
	.comm	_OPEN_FULL_DUPLEX_OFF,4,2       ## @OPEN_FULL_DUPLEX_OFF
	.comm	_TX_BUF_MIN,4,2                 ## @TX_BUF_MIN
	.comm	_TX_BUF_MAX,4,2                 ## @TX_BUF_MAX
	.no_dead_strip	_tms380tr_init_opb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tms380tr_init_opb
_tms380tr_init_opb:                     ; @tms380tr_init_opb
	.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	x20, x0
Lloh0:
	adrp	x8, _RPL_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RPL_SIZE@GOTPAGEOFF]
	ldrh	w21, [x8]
Lloh2:
	adrp	x8, _TPL_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TPL_SIZE@GOTPAGEOFF]
	ldrh	w22, [x8]
Lloh4:
	adrp	x8, _BUFFER_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BUFFER_SIZE@GOTPAGEOFF]
	ldrh	w23, [x8]
	bl	_netdev_priv
	mov	x19, x0
Lloh6:
	adrp	x8, _ENABLE_FULL_DUPLEX_SELECTION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENABLE_FULL_DUPLEX_SELECTION@GOTPAGEOFF]
Lloh8:
	adrp	x9, _OPEN_FULL_DUPLEX_OFF@GOTPAGE
Lloh9:
	ldr	x9, [x9, _OPEN_FULL_DUPLEX_OFF@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #72]
	ldr	x8, [x20]
	ldrb	w8, [x8]
	ldr	x9, [x0]
	strb	w8, [x9]
	ldr	x8, [x20]
	ldrb	w8, [x8, #1]
	ldr	x9, [x0]
	strb	w8, [x9, #1]
	ldr	x8, [x20]
	ldrb	w8, [x8, #2]
	ldr	x9, [x0]
	strb	w8, [x9, #2]
	ldr	x8, [x20]
	ldrb	w8, [x8, #3]
	ldr	x9, [x0]
	strb	w8, [x9, #3]
	ldr	x8, [x20]
	ldrb	w8, [x8, #4]
	ldr	x9, [x0]
	strb	w8, [x9, #4]
	ldr	x8, [x20]
	ldrb	w8, [x8, #5]
	ldr	x9, [x0]
	strb	w8, [x9, #5]
	stp	xzr, xzr, [x0, #56]
	mov	x0, x21
	bl	_cpu_to_be16
	str	x0, [x19, #48]
	mov	x0, x22
	bl	_cpu_to_be16
	str	x0, [x19, #40]
	mov	x0, x23
	bl	_cpu_to_be16
	stp	xzr, x0, [x19, #24]
Lloh12:
	adrp	x8, _TX_BUF_MIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TX_BUF_MIN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _TX_BUF_MAX@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TX_BUF_MAX@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	ldp	x9, x8, [x19, #80]
	sub	x8, x8, x19
	add	x0, x8, x9
	bl	_htonl
	mov	x20, x0
	bl	_LOWORD
	ldr	x8, [x19, #8]
	str	w0, [x8]
	mov	x0, x20
	bl	_HIWORD
	ldr	x8, [x19, #8]
	str	w0, [x8, #4]
	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
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RPL_SIZE,2,1                   ; @RPL_SIZE
	.comm	_TPL_SIZE,2,1                   ; @TPL_SIZE
	.comm	_BUFFER_SIZE,2,1                ; @BUFFER_SIZE
	.comm	_ENABLE_FULL_DUPLEX_SELECTION,4,2 ; @ENABLE_FULL_DUPLEX_SELECTION
	.comm	_OPEN_FULL_DUPLEX_OFF,4,2       ; @OPEN_FULL_DUPLEX_OFF
	.comm	_TX_BUF_MIN,4,2                 ; @TX_BUF_MIN
	.comm	_TX_BUF_MAX,4,2                 ; @TX_BUF_MAX
	.no_dead_strip	_tms380tr_init_opb
.subsections_via_symbols
