	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx231xx_afe_init_super_block   ## -- Begin function cx231xx_afe_init_super_block
	.p2align	4, 0x90
_cx231xx_afe_init_super_block:          ## @cx231xx_afe_init_super_block
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	$0, -44(%rbp)
	movzbl	%r15b, %edx
	movq	_SUP_BLK_TUNE2@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_afe_write_byte
	testl	%eax, %eax
	js	LBB0_14
## %bb.1:
	movl	(%r12), %esi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	callq	_afe_read_byte
	testl	%eax, %eax
	js	LBB0_14
## %bb.2:
	shrl	$8, %r15d
	andl	$3, %r15d
	orl	$64, %r15d
	movq	_SUP_BLK_TUNE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_afe_write_byte
	testl	%eax, %eax
	js	LBB0_14
## %bb.3:
	movq	_SUP_BLK_PLL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$15, %edx
	callq	_afe_write_byte
	testl	%eax, %eax
	js	LBB0_14
## %bb.4:
	movl	$10, %r12d
	movl	-44(%rbp), %eax
	movq	_SUP_BLK_PWRDN@GOTPCREL(%rip), %r13
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$24, %eax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	$24, %edx
	callq	_afe_write_byte
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_afe_read_byte
	movl	%eax, %ebx
	movzbl	-44(%rbp), %eax
	movl	%eax, -44(%rbp)
	testl	%ebx, %ebx
	js	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	decl	%r12d
	jne	LBB0_5
## %bb.11:
	leaq	L_.str.2(%rip), %rdi
	callq	_cx231xx_info
	movl	$-1, %ebx
	jmp	LBB0_15
LBB0_12:
	movq	_SUP_BLK_TUNE3@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	$64, %edx
	callq	_afe_write_byte
	testl	%eax, %eax
	js	LBB0_14
## %bb.13:
	movl	$5, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_afe_write_byte
LBB0_14:
	movl	%eax, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_cx231xx_info
	jmp	LBB0_15
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	callq	_cx231xx_info
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_SUP_BLK_TUNE2,4,2              ## @SUP_BLK_TUNE2
	.comm	_SUP_BLK_TUNE1,4,2              ## @SUP_BLK_TUNE1
	.comm	_SUP_BLK_PLL2,4,2               ## @SUP_BLK_PLL2
	.comm	_SUP_BLK_PWRDN,4,2              ## @SUP_BLK_PWRDN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	": Init Super Block failed in send cmd\n"

L_.str.1:                               ## @.str.1
	.asciz	": Init Super Block failed in receive cmd\n"

L_.str.2:                               ## @.str.2
	.asciz	": Init Super Block force break in loop !!!!\n"

	.comm	_SUP_BLK_TUNE3,4,2              ## @SUP_BLK_TUNE3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx231xx_afe_init_super_block   ; -- Begin function cx231xx_afe_init_super_block
	.p2align	2
_cx231xx_afe_init_super_block:          ; @cx231xx_afe_init_super_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	str	wzr, [sp, #12]
	and	w2, w1, #0xff
Lloh0:
	adrp	x22, _SUP_BLK_TUNE2@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SUP_BLK_TUNE2@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_afe_write_byte
	tbnz	w0, #31, LBB0_12
; %bb.1:
	ldr	w1, [x22]
	add	x2, sp, #12
	mov	x0, x19
	bl	_afe_read_byte
	tbnz	w0, #31, LBB0_12
; %bb.2:
	mov	w2, #64
	bfxil	w2, w21, #8, #2
Lloh2:
	adrp	x8, _SUP_BLK_TUNE1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SUP_BLK_TUNE1@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_afe_write_byte
	tbnz	w0, #31, LBB0_12
; %bb.3:
Lloh5:
	adrp	x8, _SUP_BLK_PLL2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SUP_BLK_PLL2@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #15
	bl	_afe_write_byte
	tbnz	w0, #31, LBB0_12
; %bb.4:
	mov	w21, #10
	ldr	w8, [sp, #12]
Lloh8:
	adrp	x22, _SUP_BLK_PWRDN@GOTPAGE
Lloh9:
	ldr	x22, [x22, _SUP_BLK_PWRDN@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #24
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #24
	bl	_afe_write_byte
	tbnz	w0, #31, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x22]
	add	x2, sp, #12
	mov	x0, x19
	bl	_afe_read_byte
	ldrb	w8, [sp, #12]
	str	w8, [sp, #12]
	tbnz	w0, #31, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	subs	w21, w21, #1
	b.ne	LBB0_5
; %bb.9:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_cx231xx_info
	mov	w20, #-1
	b	LBB0_13
LBB0_10:
Lloh12:
	adrp	x21, _SUP_BLK_TUNE3@GOTPAGE
Lloh13:
	ldr	x21, [x21, _SUP_BLK_TUNE3@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #64
	bl	_afe_write_byte
	tbnz	w0, #31, LBB0_12
; %bb.11:
	mov	w0, #5
	bl	_msleep
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_afe_write_byte
LBB0_12:
	mov	x20, x0
LBB0_13:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
LBB0_14:
	mov	x20, x0
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_cx231xx_info
	b	LBB0_13
LBB0_15:
	mov	x20, x0
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_cx231xx_info
	b	LBB0_13
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SUP_BLK_TUNE2,4,2              ; @SUP_BLK_TUNE2
	.comm	_SUP_BLK_TUNE1,4,2              ; @SUP_BLK_TUNE1
	.comm	_SUP_BLK_PLL2,4,2               ; @SUP_BLK_PLL2
	.comm	_SUP_BLK_PWRDN,4,2              ; @SUP_BLK_PWRDN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	": Init Super Block failed in send cmd\n"

l_.str.1:                               ; @.str.1
	.asciz	": Init Super Block failed in receive cmd\n"

l_.str.2:                               ; @.str.2
	.asciz	": Init Super Block force break in loop !!!!\n"

	.comm	_SUP_BLK_TUNE3,4,2              ; @SUP_BLK_TUNE3
.subsections_via_symbols
