	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function host_vcc_start_rx
_host_vcc_start_rx:                     ## @host_vcc_start_rx
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_ATM_AAL5@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %ebx
	movq	_vcc_rxcrc1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$65535, %esi                    ## imm = 0xFFFF
	callq	_cardvcc_write
	movq	_vcc_rxcrc2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$65535, %esi                    ## imm = 0xFFFF
	callq	_cardvcc_write
	movq	_vcc_rxwriteptr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cardvcc_write
	movq	_vcc_rxbufstart@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cardvcc_write
	movq	_vcc_rxreadptr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cardvcc_write
	movl	%ebx, %eax
	shrl	$16, %eax
	movq	_vcc_rxaddr2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_cardvcc_write
	movzbl	%bh, %ebx
	movq	%r14, %rdi
	callq	_lanai_buf_size_cardorder
	movl	%eax, %edi
	callq	_RXADDR1_SET_SIZE
	movl	%eax, %r15d
	orl	%ebx, %r15d
	movq	_RMMODE_TRASH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RXADDR1_SET_RMMODE
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_RXMODE_AAL5@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_RMMODE_PRESERVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RXADDR1_SET_RMMODE
	movl	%eax, %ebx
	movq	_RXADDR1_OAM_PRESERVE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_RXMODE_AAL0@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	callq	_RXADDR1_SET_MODE
	orl	%eax, %ebx
	movq	_vcc_rxaddr1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cardvcc_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATM_AAL5,8,3                   ## @ATM_AAL5
	.comm	_vcc_rxcrc1,4,2                 ## @vcc_rxcrc1
	.comm	_vcc_rxcrc2,4,2                 ## @vcc_rxcrc2
	.comm	_vcc_rxwriteptr,4,2             ## @vcc_rxwriteptr
	.comm	_vcc_rxbufstart,4,2             ## @vcc_rxbufstart
	.comm	_vcc_rxreadptr,4,2              ## @vcc_rxreadptr
	.comm	_vcc_rxaddr2,4,2                ## @vcc_rxaddr2
	.comm	_RMMODE_TRASH,4,2               ## @RMMODE_TRASH
	.comm	_RXMODE_AAL5,4,2                ## @RXMODE_AAL5
	.comm	_RMMODE_PRESERVE,4,2            ## @RMMODE_PRESERVE
	.comm	_RXADDR1_OAM_PRESERVE,4,2       ## @RXADDR1_OAM_PRESERVE
	.comm	_RXMODE_AAL0,4,2                ## @RXMODE_AAL0
	.comm	_vcc_rxaddr1,4,2                ## @vcc_rxaddr1
	.no_dead_strip	_host_vcc_start_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function host_vcc_start_rx
_host_vcc_start_rx:                     ; @host_vcc_start_rx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _ATM_AAL5@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATM_AAL5@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w20, [x19]
Lloh3:
	adrp	x8, _vcc_rxcrc1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vcc_rxcrc1@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #65535
	bl	_cardvcc_write
Lloh6:
	adrp	x8, _vcc_rxcrc2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vcc_rxcrc2@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #65535
	bl	_cardvcc_write
Lloh9:
	adrp	x8, _vcc_rxwriteptr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _vcc_rxwriteptr@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_cardvcc_write
Lloh12:
	adrp	x8, _vcc_rxbufstart@GOTPAGE
Lloh13:
	ldr	x8, [x8, _vcc_rxbufstart@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_cardvcc_write
Lloh15:
	adrp	x8, _vcc_rxreadptr@GOTPAGE
Lloh16:
	ldr	x8, [x8, _vcc_rxreadptr@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_cardvcc_write
	lsr	w1, w20, #16
Lloh18:
	adrp	x8, _vcc_rxaddr2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _vcc_rxaddr2@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_cardvcc_write
	ubfx	w20, w20, #8, #8
	mov	x0, x19
	bl	_lanai_buf_size_cardorder
	bl	_RXADDR1_SET_SIZE
	orr	w20, w0, w20
Lloh21:
	adrp	x8, _RMMODE_TRASH@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RMMODE_TRASH@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_RXADDR1_SET_RMMODE
	orr	w20, w20, w0
Lloh24:
	adrp	x8, _RXMODE_AAL5@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RXMODE_AAL5@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh26:
	adrp	x8, _RMMODE_PRESERVE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RMMODE_PRESERVE@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_RXADDR1_SET_RMMODE
Lloh29:
	adrp	x8, _RXADDR1_OAM_PRESERVE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RXADDR1_OAM_PRESERVE@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	orr	w20, w8, w0
Lloh32:
	adrp	x8, _RXMODE_AAL0@GOTPAGE
Lloh33:
	ldr	x8, [x8, _RXMODE_AAL0@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	bl	_RXADDR1_SET_MODE
	orr	w1, w20, w0
Lloh34:
	adrp	x8, _vcc_rxaddr1@GOTPAGE
Lloh35:
	ldr	x8, [x8, _vcc_rxaddr1@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cardvcc_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_ATM_AAL5,8,3                   ; @ATM_AAL5
	.comm	_vcc_rxcrc1,4,2                 ; @vcc_rxcrc1
	.comm	_vcc_rxcrc2,4,2                 ; @vcc_rxcrc2
	.comm	_vcc_rxwriteptr,4,2             ; @vcc_rxwriteptr
	.comm	_vcc_rxbufstart,4,2             ; @vcc_rxbufstart
	.comm	_vcc_rxreadptr,4,2              ; @vcc_rxreadptr
	.comm	_vcc_rxaddr2,4,2                ; @vcc_rxaddr2
	.comm	_RMMODE_TRASH,4,2               ; @RMMODE_TRASH
	.comm	_RXMODE_AAL5,4,2                ; @RXMODE_AAL5
	.comm	_RMMODE_PRESERVE,4,2            ; @RMMODE_PRESERVE
	.comm	_RXADDR1_OAM_PRESERVE,4,2       ; @RXADDR1_OAM_PRESERVE
	.comm	_RXMODE_AAL0,4,2                ; @RXMODE_AAL0
	.comm	_vcc_rxaddr1,4,2                ; @vcc_rxaddr1
	.no_dead_strip	_host_vcc_start_rx
.subsections_via_symbols
