	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn10_get_hw_state             ## -- Begin function dcn10_get_hw_state
	.p2align	4, 0x90
_dcn10_get_hw_state:                    ## @dcn10_get_hw_state
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	testl	%ecx, %ecx
	movl	$65535, %r12d                   ## imm = 0xFFFF
	cmovnel	%ecx, %r12d
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	movl	%r12d, %eax
	andl	$1, %eax
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_dcn10_get_hubbub_state
	movl	%eax, %ecx
	addq	%rcx, %r14
	subl	%eax, %ebx
LBB0_3:
	testb	$2, %r12b
	je	LBB0_6
## %bb.4:
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.5:
	movl	%r12d, %ecx
	andl	$32768, %ecx                    ## imm = 0x8000
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_dcn10_get_hubp_states
	movl	%eax, %ecx
	addq	%rcx, %r14
	subl	%eax, %ebx
LBB0_6:
	testb	$4, %r12b
	je	LBB0_9
## %bb.7:
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_dcn10_get_rq_states
	movl	%eax, %ecx
	addq	%rcx, %r14
	subl	%eax, %ebx
LBB0_9:
	testb	$8, %r12b
	je	LBB0_12
## %bb.10:
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_dcn10_get_dlg_states
	movl	%eax, %ecx
	addq	%rcx, %r14
	subl	%eax, %ebx
LBB0_12:
	testb	$16, %r12b
	je	LBB0_15
## %bb.13:
	testl	%ebx, %ebx
	je	LBB0_15
## %bb.14:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_dcn10_get_ttu_states
	movl	%eax, %ecx
	addq	%rcx, %r14
	subl	%eax, %ebx
LBB0_15:
	testb	$32, %r12b
	je	LBB0_18
## %bb.16:
	testl	%ebx, %ebx
	je	LBB0_18
## %bb.17:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_dcn10_get_cm_states
	movl	%eax, %ecx
	addq	%rcx, %r14
	subl	%eax, %ebx
LBB0_18:
	testb	$64, %r12b
	je	LBB0_21
## %bb.19:
	testl	%ebx, %ebx
	je	LBB0_21
## %bb.20:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_dcn10_get_mpcc_states
	movl	%eax, %ecx
	addq	%rcx, %r14
	subl	%eax, %ebx
LBB0_21:
	testb	$-128, %r12b
	je	LBB0_24
## %bb.22:
	testl	%ebx, %ebx
	je	LBB0_24
## %bb.23:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_dcn10_get_otg_states
	movl	%eax, %ecx
	addq	%rcx, %r14
	subl	%eax, %ebx
LBB0_24:
	testl	$256, %r12d                     ## imm = 0x100
	je	LBB0_26
## %bb.25:
	testl	%ebx, %ebx
	je	LBB0_26
## %bb.27:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dcn10_get_clock_states         ## TAILCALL
LBB0_26:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn10_get_hw_state             ; -- Begin function dcn10_get_hw_state
	.p2align	2
_dcn10_get_hw_state:                    ; @dcn10_get_hw_state
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w8, #65535
	cmp	w3, #0
	csel	w22, w8, w3, eq
	cbz	w2, LBB0_3
; %bb.1:
	tbz	w22, #0, LBB0_3
; %bb.2:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_dcn10_get_hubbub_state
	add	x20, x20, w0, uxtw
	sub	w19, w19, w0
LBB0_3:
	tbz	w22, #1, LBB0_6
; %bb.4:
	cbz	w19, LBB0_6
; %bb.5:
	and	w3, w22, #0x8000
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_dcn10_get_hubp_states
	add	x20, x20, w0, uxtw
	sub	w19, w19, w0
LBB0_6:
	tbz	w22, #2, LBB0_9
; %bb.7:
	cbz	w19, LBB0_9
; %bb.8:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_dcn10_get_rq_states
	add	x20, x20, w0, uxtw
	sub	w19, w19, w0
LBB0_9:
	tbz	w22, #3, LBB0_12
; %bb.10:
	cbz	w19, LBB0_12
; %bb.11:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_dcn10_get_dlg_states
	add	x20, x20, w0, uxtw
	sub	w19, w19, w0
LBB0_12:
	tbz	w22, #4, LBB0_15
; %bb.13:
	cbz	w19, LBB0_15
; %bb.14:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_dcn10_get_ttu_states
	add	x20, x20, w0, uxtw
	sub	w19, w19, w0
LBB0_15:
	tbz	w22, #5, LBB0_18
; %bb.16:
	cbz	w19, LBB0_18
; %bb.17:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_dcn10_get_cm_states
	add	x20, x20, w0, uxtw
	sub	w19, w19, w0
LBB0_18:
	tbz	w22, #6, LBB0_21
; %bb.19:
	cbz	w19, LBB0_21
; %bb.20:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_dcn10_get_mpcc_states
	add	x20, x20, w0, uxtw
	sub	w19, w19, w0
LBB0_21:
	tbz	w22, #7, LBB0_24
; %bb.22:
	cbz	w19, LBB0_24
; %bb.23:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_dcn10_get_otg_states
	add	x20, x20, w0, uxtw
	sub	w19, w19, w0
LBB0_24:
	tbz	w22, #8, LBB0_27
; %bb.25:
	cbz	w19, LBB0_27
; %bb.26:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dcn10_get_clock_states
LBB0_27:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
