	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_ss_info_from_atombios
_get_ss_info_from_atombios:             ## @get_ss_info_from_atombios
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_DC_LOGGER_INIT
	testq	%r15, %r15
	je	LBB0_1
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.5:
	movq	$0, (%rbx)
	movq	$0, (%r15)
	movq	(%r13), %rdi
	movq	(%rdi), %rax
	movl	%r12d, %esi
	callq	*(%rax)
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_30
## %bb.6:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rax, %rdi
	movl	$64, %esi
	callq	_kcalloc
	testq	%rax, %rax
	je	LBB0_30
## %bb.7:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rdi
	movl	(%r14), %edx
	movl	$64, %esi
	callq	_kcalloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.8:
	movq	%rax, %rsi
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%r15)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jle	LBB0_28
## %bb.9:
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	_BP_RESULT_OK@GOTPCREL(%rip), %rbx
	movq	%rdi, %r12
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	movq	(%rdi), %rax
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	*8(%rax)
	cmpl	(%rbx), %eax
	jne	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%r14
	addq	$64, %r12
	movq	(%r15), %rax
	cmpq	%rax, %r14
	jl	LBB0_10
## %bb.12:
	testq	%rax, %rax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jle	LBB0_28
## %bb.13:
	xorl	%ebx, %ebx
	movq	_AS_SIGNAL_TYPE_HDMI@GOTPCREL(%rip), %r14
	leaq	L_.str.4(%rip), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_14
LBB0_1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_30:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DC_LOG_SYNC                    ## TAILCALL
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=1
	leaq	L_.str.3(%rip), %rdi
	callq	_DC_LOG_SYNC
	movq	%r13, %rdi
	callq	_DC_LOG_SYNC
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	(%r15), %rax
LBB0_27:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%r12
	addq	$64, %rbx
	cmpq	%rax, %r12
	jge	LBB0_28
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 24(%rdi,%rbx)
	jne	LBB0_15
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%r14)
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$7, (%rdi,%rbx)
	jge	LBB0_20
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	(%rdi,%rbx), %ecx
	movl	4(%rdi,%rbx), %r8d
	cmpl	$1000, %r8d                     ## imm = 0x3E8
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_14 Depth=1
	movslq	%ecx, %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	movl	%ecx, (%rdi,%rbx)
	movl	$100, 4(%rdi,%rbx)
	movl	$100, %r8d
LBB0_23:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	56(%rdi,%rbx), %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%esi, 60(%rdx,%rbx)
	movq	%rdx, %rsi
	movl	%ecx, 8(%rdx,%rbx)
	movl	%r8d, 12(%rdx,%rbx)
	movl	48(%rdi,%rbx), %ecx
	movl	%ecx, 52(%rdx,%rbx)
	cmpq	$0, 40(%rdi,%rbx)
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	$1, 16(%rsi,%rbx)
LBB0_25:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpq	$0, 32(%rdi,%rbx)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	$1, 20(%rsi,%rbx)
	jmp	LBB0_27
LBB0_28:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rsi, (%rax)
	jmp	LBB0_29
LBB0_15:
	leaq	L_.str.2(%rip), %rdi
	callq	_DC_LOG_SYNC
LBB0_16:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	movq	$0, (%r15)
LBB0_17:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_29:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BP_RESULT_FAILURE,4,2          ## @BP_RESULT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid entry !!!\n"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid array pointer!!!\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_BP_RESULT_OK,4,2               ## @BP_RESULT_OK
L_.str.2:                               ## @.str.2
	.asciz	"Invalid ATOMBIOS SS Table!!!\n"

	.comm	_AS_SIGNAL_TYPE_HDMI,4,2        ## @AS_SIGNAL_TYPE_HDMI
L_.str.3:                               ## @.str.3
	.asciz	"Invalid SS percentage "

L_.str.4:                               ## @.str.4
	.asciz	"for HDMI in ATOMBIOS info Table!!!\n"

	.no_dead_strip	_get_ss_info_from_atombios
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_ss_info_from_atombios
_get_ss_info_from_atombios:             ; @get_ss_info_from_atombios
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x24, x0
	bl	_DC_LOGGER_INIT
	cbz	x19, LBB0_11
; %bb.1:
	cbz	x20, LBB0_13
; %bb.2:
	str	xzr, [x20]
	str	xzr, [x19]
	ldr	x0, [x24]
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	x1, x21
	blr	x8
	str	x0, [x19]
	cbz	x0, LBB0_12
; %bb.3:
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	w1, #64
	bl	_kcalloc
	cbz	x0, LBB0_12
; %bb.4:
	mov	x27, x0
	ldr	x0, [x19]
	ldr	w2, [x22]
	mov	w1, #64
	bl	_kcalloc
	cbz	x0, LBB0_29
; %bb.5:
	mov	x23, x0
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_26
; %bb.6:
	mov	x25, #0
Lloh2:
	adrp	x22, _BP_RESULT_OK@GOTPAGE
Lloh3:
	ldr	x22, [x22, _BP_RESULT_OK@GOTPAGEOFF]
	mov	x26, x27
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	mov	x1, x21
	mov	x2, x25
	mov	x3, x26
	blr	x8
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_28
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x25, x25, #1
	add	x26, x26, #64
	ldr	x8, [x19]
	cmp	x25, x8
	b.lt	LBB0_7
; %bb.9:
	cmp	x8, #1
	b.lt	LBB0_26
; %bb.10:
	mov	x26, #0
Lloh4:
	adrp	x24, _AS_SIGNAL_TYPE_HDMI@GOTPAGE
Lloh5:
	ldr	x24, [x24, _AS_SIGNAL_TYPE_HDMI@GOTPAGEOFF]
	add	x28, x23, #52
	mov	w25, #1
	mov	x22, x27
	b	LBB0_17
LBB0_11:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_14
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_DC_LOG_SYNC
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DC_LOG_SYNC
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DC_LOG_SYNC
	ldr	x8, [x19]
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x26, x26, #1
	add	x22, x22, #64
	add	x28, x28, #64
	cmp	x26, x8
	b.ge	LBB0_26
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x22, #24]
	cbnz	w9, LBB0_27
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w9, [x24]
	cmp	w9, w21
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w9, [x22]
	cmp	w9, #7
	b.ge	LBB0_15
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=1
	ldp	w9, w10, [x22]
	cmp	w10, #1000
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	mov	w10, #100
	stp	w9, w10, [x22]
LBB0_22:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w11, [x22, #56]
	str	w11, [x28, #8]
	stp	w9, w10, [x28, #-44]
	ldr	w9, [x22, #48]
	str	w9, [x28]
	ldr	x9, [x22, #40]
	cbz	x9, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_17 Depth=1
	stur	w25, [x28, #-36]
LBB0_24:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x9, [x22, #32]
	cbz	x9, LBB0_16
; %bb.25:                               ;   in Loop: Header=BB0_17 Depth=1
	stur	w25, [x28, #-32]
	b	LBB0_16
LBB0_26:
	str	x23, [x20]
	b	LBB0_29
LBB0_27:
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DC_LOG_SYNC
LBB0_28:
	mov	x0, x23
	bl	_kfree
	str	xzr, [x19]
LBB0_29:
	mov	x0, x27
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_BP_RESULT_FAILURE,4,2          ; @BP_RESULT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid entry !!!\n"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid array pointer!!!\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_BP_RESULT_OK,4,2               ; @BP_RESULT_OK
l_.str.2:                               ; @.str.2
	.asciz	"Invalid ATOMBIOS SS Table!!!\n"

	.comm	_AS_SIGNAL_TYPE_HDMI,4,2        ; @AS_SIGNAL_TYPE_HDMI
l_.str.3:                               ; @.str.3
	.asciz	"Invalid SS percentage "

l_.str.4:                               ; @.str.4
	.asciz	"for HDMI in ATOMBIOS info Table!!!\n"

	.no_dead_strip	_get_ss_info_from_atombios
.subsections_via_symbols
