	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_rc_hardware_init
_st_rc_hardware_init:                   ## @st_rc_hardware_init
	.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, %rbx
	movq	_MAX_SYMB_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	36(%rdi), %edi
	callq	_reset_control_deassert
	movl	32(%rbx), %edi
	callq	_clk_prepare_enable
	movl	32(%rbx), %edi
	callq	_clk_get_rate
	movl	%eax, %r15d
	movq	_IRB_RX_POLARITY_INV@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%rbx), %rsi
	movl	$1, %edi
	callq	_writel
	movq	_IRB_SAMPLE_FREQ@GOTPCREL(%rip), %r13
	movl	%r15d, %eax
	cltd
	idivl	(%r13)
	movl	%eax, %r12d
	movq	_IRB_SAMPLE_RATE_COMM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	24(%rbx), %rsi
	movl	%r12d, %edi
	callq	_writel
	movl	(%r13), %eax
	imull	%r12d, %eax
	cmpl	%eax, %r15d
	je	LBB0_2
## %bb.1:
	movabsq	$4294967296001, %rax            ## imm = 0x3E800000001
	movq	%rax, (%rbx)
	imull	$10000, %r12d, %ecx             ## imm = 0x2710
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %ecx
	movl	%eax, 8(%rbx)
	imull	$1000, %r14d, %eax              ## imm = 0x3E8
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %r14d
LBB0_2:
	movq	_IRB_MAX_SYM_PERIOD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%rbx), %rsi
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SYMB_TIME,4,2              ## @MAX_SYMB_TIME
	.comm	_IRB_RX_POLARITY_INV,8,3        ## @IRB_RX_POLARITY_INV
	.comm	_IRB_SAMPLE_FREQ,4,2            ## @IRB_SAMPLE_FREQ
	.comm	_IRB_SAMPLE_RATE_COMM,8,3       ## @IRB_SAMPLE_RATE_COMM
	.comm	_IRB_MAX_SYM_PERIOD,8,3         ## @IRB_MAX_SYM_PERIOD
	.no_dead_strip	_st_rc_hardware_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function st_rc_hardware_init
lCPI0_0:
	.long	1                               ; 0x1
	.long	1000                            ; 0x3e8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_st_rc_hardware_init:                   ; @st_rc_hardware_init
	.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, _MAX_SYMB_TIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_SYMB_TIME@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	w0, [x0, #36]
	bl	_reset_control_deassert
	ldr	w0, [x20, #32]
	bl	_clk_prepare_enable
	ldr	w0, [x20, #32]
	bl	_clk_get_rate
	mov	x21, x0
	ldr	x8, [x20, #16]
Lloh3:
	adrp	x9, _IRB_RX_POLARITY_INV@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IRB_RX_POLARITY_INV@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #1
	bl	_writel
Lloh6:
	adrp	x23, _IRB_SAMPLE_FREQ@GOTPAGE
Lloh7:
	ldr	x23, [x23, _IRB_SAMPLE_FREQ@GOTPAGEOFF]
	ldr	w8, [x23]
	sdiv	w22, w21, w8
	ldr	x8, [x20, #24]
Lloh8:
	adrp	x9, _IRB_SAMPLE_RATE_COMM@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IRB_SAMPLE_RATE_COMM@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x22
	bl	_writel
	ldr	w8, [x23]
	mul	w8, w8, w22
	cmp	w21, w8
	b.eq	LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, lCPI0_0@PAGE
Lloh12:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x20]
	mov	w8, #10000
	mul	w8, w22, w8
	udiv	w8, w21, w8
	str	w8, [x20, #8]
	mov	w9, #1000
	mul	w9, w19, w9
	udiv	w19, w9, w8
LBB0_2:
	ldr	x8, [x20, #16]
Lloh13:
	adrp	x9, _IRB_MAX_SYM_PERIOD@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IRB_MAX_SYM_PERIOD@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	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
	b	_writel
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SYMB_TIME,4,2              ; @MAX_SYMB_TIME
	.comm	_IRB_RX_POLARITY_INV,8,3        ; @IRB_RX_POLARITY_INV
	.comm	_IRB_SAMPLE_FREQ,4,2            ; @IRB_SAMPLE_FREQ
	.comm	_IRB_SAMPLE_RATE_COMM,8,3       ; @IRB_SAMPLE_RATE_COMM
	.comm	_IRB_MAX_SYM_PERIOD,8,3         ; @IRB_MAX_SYM_PERIOD
	.no_dead_strip	_st_rc_hardware_init
.subsections_via_symbols
