	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxic_nfc_clk_setup
_mxic_nfc_clk_setup:                    ## @mxic_nfc_clk_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_clk_set_rate
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_clk_set_rate
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	movl	$15, %esi
	callq	_mxic_nfc_set_input_delay
	movl	(%rbx), %edi
	leaq	(%r14,%r14,8), %rax
	movabsq	$-6067343680855748867, %rcx     ## imm = 0xABCC77118461CEFD
	mulq	%rcx
	shrq	$24, %rdx
	movl	%edx, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_clk_set_phase                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mxic_nfc_clk_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxic_nfc_clk_setup
_mxic_nfc_clk_setup:                    ; @mxic_nfc_clk_setup
	.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, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_clk_set_rate
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	mov	x1, x19
	bl	_clk_set_rate
	cbz	w0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x20
	mov	w1, #15
	bl	_mxic_nfc_set_input_delay
	ldr	w0, [x20]
	add	x8, x19, x19, lsl #3
	mov	x9, #52989
	movk	x9, #33889, lsl #16
	movk	x9, #30481, lsl #32
	movk	x9, #43980, lsl #48
	umulh	x8, x8, x9
	lsr	x1, x8, #24
                                        ; kill: def $w1 killed $w1 killed $x1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_clk_set_phase
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mxic_nfc_clk_setup
.subsections_via_symbols
