	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ti_sci_cmd_get_clock
_ti_sci_cmd_get_clock:                  ## @ti_sci_cmd_get_clock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%r8d, %eax
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	movq	_MSG_FLAG_CLOCK_ALLOW_SSC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_MSG_FLAG_CLOCK_ALLOW_FREQ_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	orl	%ecx, %eax
	testl	%r9d, %r9d
	je	LBB0_6
## %bb.5:
	movq	_MSG_FLAG_CLOCK_INPUT_TERM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
LBB0_6:
	orl	%r9d, %eax
	movq	_MSG_CLOCK_SW_STATE_REQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	%eax, %ecx
	popq	%rbp
	jmp	_ti_sci_set_clock_state         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_FLAG_CLOCK_ALLOW_SSC,4,2   ## @MSG_FLAG_CLOCK_ALLOW_SSC
	.comm	_MSG_FLAG_CLOCK_ALLOW_FREQ_CHANGE,4,2 ## @MSG_FLAG_CLOCK_ALLOW_FREQ_CHANGE
	.comm	_MSG_FLAG_CLOCK_INPUT_TERM,4,2  ## @MSG_FLAG_CLOCK_INPUT_TERM
	.comm	_MSG_CLOCK_SW_STATE_REQ,4,2     ## @MSG_CLOCK_SW_STATE_REQ
	.no_dead_strip	_ti_sci_cmd_get_clock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ti_sci_cmd_get_clock
_ti_sci_cmd_get_clock:                  ; @ti_sci_cmd_get_clock
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MSG_FLAG_CLOCK_ALLOW_SSC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_FLAG_CLOCK_ALLOW_SSC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w3, #0
	csel	w8, wzr, w8, eq
Lloh3:
	adrp	x9, _MSG_FLAG_CLOCK_ALLOW_FREQ_CHANGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MSG_FLAG_CLOCK_ALLOW_FREQ_CHANGE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w4, #0
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _MSG_FLAG_CLOCK_INPUT_TERM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MSG_FLAG_CLOCK_INPUT_TERM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w5, #0
	csel	w9, wzr, w9, eq
	orr	w3, w8, w9
Lloh9:
	adrp	x8, _MSG_CLOCK_SW_STATE_REQ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_CLOCK_SW_STATE_REQ@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	b	_ti_sci_set_clock_state
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_FLAG_CLOCK_ALLOW_SSC,4,2   ; @MSG_FLAG_CLOCK_ALLOW_SSC
	.comm	_MSG_FLAG_CLOCK_ALLOW_FREQ_CHANGE,4,2 ; @MSG_FLAG_CLOCK_ALLOW_FREQ_CHANGE
	.comm	_MSG_FLAG_CLOCK_INPUT_TERM,4,2  ; @MSG_FLAG_CLOCK_INPUT_TERM
	.comm	_MSG_CLOCK_SW_STATE_REQ,4,2     ; @MSG_CLOCK_SW_STATE_REQ
	.no_dead_strip	_ti_sci_cmd_get_clock
.subsections_via_symbols
