	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idt77252_init_rx
_idt77252_init_rx:                      ## @idt77252_init_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	%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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	_VCF_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rsi), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_18
LBB0_2:
	movq	%r15, 16(%r12)
	movq	_VCF_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movl	(%r15), %eax
	addl	$-3, %eax
	xorl	%r15d, %r15d
	cmpl	$2, %eax
	jb	LBB0_18
## %bb.3:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	leaq	4(%r12), %rsi
	movq	%r13, %rdi
	callq	_flush_rx_pool
	movq	_SAR_RCTE_CONNECTOPEN@GOTPCREL(%rip), %rax
	movq	_SAR_RCTE_RAWCELLINTEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	orl	(%rax), %r12d
	movl	(%r14), %eax
	cmpl	$128, %eax
	je	LBB0_10
## %bb.4:
	cmpl	$130, %eax
	je	LBB0_5
## %bb.6:
	cmpl	$129, %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_12
## %bb.7:
	movq	_SAR_RCTE_AAL34@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_SAR_RCTE_OAM@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_10:
	movq	_SAR_RCTE_AAL5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r14), %rcx
	movq	_SAR_FB_SIZE_2@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jle	LBB0_13
## %bb.11:
	movq	_SAR_RCTE_FBP_3@GOTPCREL(%rip), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_12:
	movq	_SAR_RCTE_RCQ@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	movq	_SAR_RCTE_FBP_1@GOTPCREL(%rip), %rcx
LBB0_17:
	orl	%eax, %r12d
	orl	(%rcx), %r12d
	movslq	(%r13), %rax
	movl	(%rdx), %ecx
	shll	$2, %ecx
	movslq	%ecx, %rbx
	addq	%rax, %rbx
	movl	8(%r13), %esi
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rdx
	callq	_OPRINTK
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_write_sram
	leaq	4(%r13), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_SAR_CMD_OPEN_CONNECTION@GOTPCREL(%rip), %rax
	shlq	$2, %rbx
	orq	(%rax), %rbx
	movq	_SAR_REG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_writel
	movq	%r13, %rdi
	callq	_waitfor_idle
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
LBB0_18:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_SAR_FB_SIZE_1@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jle	LBB0_15
## %bb.14:
	movq	_SAR_RCTE_FBP_2@GOTPCREL(%rip), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_15:
	movq	_SAR_FB_SIZE_0@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jg	LBB0_9
## %bb.16:
	movq	_SAR_RCTE_FBP_01@GOTPCREL(%rip), %rcx
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_VCF_RX,4,2                     ## @VCF_RX
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_SAR_RCTE_CONNECTOPEN,4,2       ## @SAR_RCTE_CONNECTOPEN
	.comm	_SAR_RCTE_RAWCELLINTEN,4,2      ## @SAR_RCTE_RAWCELLINTEN
	.comm	_SAR_RCTE_RCQ,4,2               ## @SAR_RCTE_RCQ
	.comm	_SAR_RCTE_OAM,4,2               ## @SAR_RCTE_OAM
	.comm	_SAR_RCTE_AAL34,4,2             ## @SAR_RCTE_AAL34
	.comm	_SAR_RCTE_AAL5,4,2              ## @SAR_RCTE_AAL5
	.comm	_SAR_RCTE_FBP_1,4,2             ## @SAR_RCTE_FBP_1
	.comm	_SAR_FB_SIZE_2,8,3              ## @SAR_FB_SIZE_2
	.comm	_SAR_RCTE_FBP_3,4,2             ## @SAR_RCTE_FBP_3
	.comm	_SAR_FB_SIZE_1,8,3              ## @SAR_FB_SIZE_1
	.comm	_SAR_RCTE_FBP_2,4,2             ## @SAR_RCTE_FBP_2
	.comm	_SAR_FB_SIZE_0,8,3              ## @SAR_FB_SIZE_0
	.comm	_SAR_RCTE_FBP_01,4,2            ## @SAR_RCTE_FBP_01
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: writing RCT at 0x%lx\n"

	.comm	_SAR_CMD_OPEN_CONNECTION,8,3    ## @SAR_CMD_OPEN_CONNECTION
	.comm	_SAR_REG_CMD,4,2                ## @SAR_REG_CMD
	.no_dead_strip	_idt77252_init_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idt77252_init_rx
_idt77252_init_rx:                      ; @idt77252_init_rx
	.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	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _VCF_RX@GOTPAGE
Lloh1:
	ldr	x24, [x24, _VCF_RX@GOTPAGEOFF]
	ldr	w0, [x24]
	add	x23, x1, #8
	mov	x1, x23
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EBUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_2:
	str	x22, [x20, #16]
	ldr	w0, [x24]
	mov	x1, x23
	bl	_set_bit
	ldr	w8, [x22]
	sub	w8, w8, #3
	cmp	w8, #2
	b.lo	LBB0_13
; %bb.3:
	add	x1, x20, #4
	mov	x0, x19
	bl	_flush_rx_pool
Lloh5:
	adrp	x8, _SAR_RCTE_CONNECTOPEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SAR_RCTE_CONNECTOPEN@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B0_12:
	orr	w8, w8, w9
	ldr	w9, [x10]
	orr	w21, w8, w9
	ldrsw	x8, [x19]
	ldr	w9, [x20]
	lsl	w9, w9, #2
	add	x20, x8, w9, sxtw
	ldr	w1, [x19, #8]
Lloh27:
	adrp	x0, l_.str@PAGE
Lloh28:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_OPRINTK
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_write_sram
	add	x21, x19, #4
	mov	x0, x21
	bl	_spin_lock_irqsave
Lloh29:
	adrp	x8, _SAR_CMD_OPEN_CONNECTION@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SAR_CMD_OPEN_CONNECTION@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	orr	x0, x8, x20, lsl #2
Lloh32:
	adrp	x8, _SAR_REG_CMD@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SAR_REG_CMD@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	bl	_writel
	mov	x0, x19
	bl	_waitfor_idle
	mov	x0, x21
	bl	_spin_unlock_irqrestore
LBB0_13:
	mov	w0, #0
LBB0_14:
	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_15:
Lloh35:
	adrp	x11, _SAR_FB_SIZE_1@GOTPAGE
Lloh36:
	ldr	x11, [x11, _SAR_FB_SIZE_1@GOTPAGEOFF]
Lloh37:
	ldr	x11, [x11]
	cmp	x10, x11
	b.le	LBB0_17
; %bb.16:
Lloh38:
	adrp	x10, _SAR_RCTE_FBP_2@GOTPAGE
Lloh39:
	ldr	x10, [x10, _SAR_RCTE_FBP_2@GOTPAGEOFF]
	b	LBB0_12
LBB0_17:
Lloh40:
	adrp	x11, _SAR_FB_SIZE_0@GOTPAGE
Lloh41:
	ldr	x11, [x11, _SAR_FB_SIZE_0@GOTPAGEOFF]
Lloh42:
	ldr	x11, [x11]
Lloh43:
	adrp	x12, _SAR_RCTE_FBP_01@GOTPAGE
Lloh44:
	ldr	x12, [x12, _SAR_RCTE_FBP_01@GOTPAGEOFF]
Lloh45:
	adrp	x13, _SAR_RCTE_FBP_1@GOTPAGE
Lloh46:
	ldr	x13, [x13, _SAR_RCTE_FBP_1@GOTPAGEOFF]
	cmp	x10, x11
	csel	x10, x13, x12, gt
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_VCF_RX,4,2                     ; @VCF_RX
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_SAR_RCTE_CONNECTOPEN,4,2       ; @SAR_RCTE_CONNECTOPEN
	.comm	_SAR_RCTE_RAWCELLINTEN,4,2      ; @SAR_RCTE_RAWCELLINTEN
	.comm	_SAR_RCTE_RCQ,4,2               ; @SAR_RCTE_RCQ
	.comm	_SAR_RCTE_OAM,4,2               ; @SAR_RCTE_OAM
	.comm	_SAR_RCTE_AAL34,4,2             ; @SAR_RCTE_AAL34
	.comm	_SAR_RCTE_AAL5,4,2              ; @SAR_RCTE_AAL5
	.comm	_SAR_RCTE_FBP_1,4,2             ; @SAR_RCTE_FBP_1
	.comm	_SAR_FB_SIZE_2,8,3              ; @SAR_FB_SIZE_2
	.comm	_SAR_RCTE_FBP_3,4,2             ; @SAR_RCTE_FBP_3
	.comm	_SAR_FB_SIZE_1,8,3              ; @SAR_FB_SIZE_1
	.comm	_SAR_RCTE_FBP_2,4,2             ; @SAR_RCTE_FBP_2
	.comm	_SAR_FB_SIZE_0,8,3              ; @SAR_FB_SIZE_0
	.comm	_SAR_RCTE_FBP_01,4,2            ; @SAR_RCTE_FBP_01
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: writing RCT at 0x%lx\n"

	.comm	_SAR_CMD_OPEN_CONNECTION,8,3    ; @SAR_CMD_OPEN_CONNECTION
	.comm	_SAR_REG_CMD,4,2                ; @SAR_REG_CMD
	.no_dead_strip	_idt77252_init_rx
.subsections_via_symbols
