	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function construct_integrated_info
_construct_integrated_info:             ## @construct_integrated_info
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_BP_RESULT_BADBIOSTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	(%rdi), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r15
	movq	_ATOM_COMMON_TABLE_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GET_IMAGE
	movq	_header@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	-32(%rbp), %rsi
	movl	%eax, %edi
	callq	_get_atom_data_table_revision
	movl	-32(%rbp), %eax
	cmpl	$9, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$8, %eax
	jne	LBB0_14
## %bb.3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_get_integrated_info_v8
	jmp	LBB0_5
LBB0_4:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_get_integrated_info_v9
LBB0_5:
	movl	%eax, %r14d
LBB0_6:
	movq	_BP_RESULT_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_14
## %bb.7:
	movq	_NUMBER_OF_DISP_CLK_VOLTAGE@GOTPCREL(%rip), %r8
	cmpq	$2, (%r8)
	jb	LBB0_14
## %bb.8:
	movl	$1, %r9d
	movq	$-1, %r10
	xorl	%eax, %eax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r9
	addq	$16, %rax
	decq	%r10
	cmpq	(%r8), %r9
	jae	LBB0_14
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	%r10, %rdi
	movq	%rax, %rsi
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=2
	addq	$-16, %rsi
	incq	%rdi
	je	LBB0_13
LBB0_10:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rcx
	movq	16(%rcx,%rsi), %rdx
	cmpq	(%rcx,%rsi), %rdx
	jge	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movups	(%rcx,%rsi), %xmm0
	movaps	%xmm0, -48(%rbp)
	movups	16(%rcx,%rsi), %xmm0
	movups	%xmm0, (%rcx,%rsi)
	movq	(%rbx), %rcx
	movaps	-48(%rbp), %xmm0
	movups	%xmm0, 16(%rcx,%rsi)
	jmp	LBB0_12
LBB0_14:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BP_RESULT_BADBIOSTABLE,4,2     ## @BP_RESULT_BADBIOSTABLE
	.comm	_ATOM_COMMON_TABLE_HEADER,4,2   ## @ATOM_COMMON_TABLE_HEADER
	.comm	_header,4,2                     ## @header
	.comm	_BP_RESULT_OK,4,2               ## @BP_RESULT_OK
	.comm	_NUMBER_OF_DISP_CLK_VOLTAGE,8,3 ## @NUMBER_OF_DISP_CLK_VOLTAGE
	.no_dead_strip	_construct_integrated_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function construct_integrated_info
_construct_integrated_info:             ; @construct_integrated_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
Lloh0:
	adrp	x8, _BP_RESULT_BADBIOSTABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BP_RESULT_BADBIOSTABLE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x8, [x0]
	ldr	x1, [x8]
	cbz	x1, LBB0_6
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x8, _ATOM_COMMON_TABLE_HEADER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATOM_COMMON_TABLE_HEADER@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_GET_IMAGE
Lloh6:
	adrp	x8, _header@GOTPAGE
Lloh7:
	ldr	x8, [x8, _header@GOTPAGEOFF]
Lloh8:
	str	w0, [x8]
	add	x1, sp, #24
	bl	_get_atom_data_table_revision
	ldr	w8, [sp, #24]
	cmp	w8, #9
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #8
	b.ne	LBB0_14
; %bb.3:
	mov	x0, x21
	mov	x1, x19
	bl	_get_integrated_info_v8
	b	LBB0_5
LBB0_4:
	mov	x0, x21
	mov	x1, x19
	bl	_get_integrated_info_v9
LBB0_5:
	mov	x20, x0
LBB0_6:
Lloh9:
	adrp	x8, _BP_RESULT_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BP_RESULT_OK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_14
; %bb.7:
Lloh12:
	adrp	x8, _NUMBER_OF_DISP_CLK_VOLTAGE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NUMBER_OF_DISP_CLK_VOLTAGE@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x9, #2
	b.lo	LBB0_14
; %bb.8:
	mov	x9, #0
	mov	x10, #-1
	mov	w11, #1
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x12, [x8]
	add	x11, x11, #1
	add	x9, x9, #16
	sub	x10, x10, #1
	cmp	x11, x12
	b.hs	LBB0_14
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	mov	x12, x10
	mov	x13, x9
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	sub	x13, x13, #16
	adds	x12, x12, #1
	b.hs	LBB0_9
LBB0_12:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x14, [x19]
	add	x14, x14, x13
	ldr	x15, [x14, #16]
	ldr	x16, [x14]
	cmp	x15, x16
	b.ge	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldp	q0, q1, [x14]
	str	q0, [sp]
	str	q1, [x14]
	ldr	x14, [x19]
	add	x14, x14, x13
	str	q0, [x14, #16]
	b	LBB0_11
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_BP_RESULT_BADBIOSTABLE,4,2     ; @BP_RESULT_BADBIOSTABLE
	.comm	_ATOM_COMMON_TABLE_HEADER,4,2   ; @ATOM_COMMON_TABLE_HEADER
	.comm	_header,4,2                     ; @header
	.comm	_BP_RESULT_OK,4,2               ; @BP_RESULT_OK
	.comm	_NUMBER_OF_DISP_CLK_VOLTAGE,8,3 ; @NUMBER_OF_DISP_CLK_VOLTAGE
	.no_dead_strip	_construct_integrated_info
.subsections_via_symbols
