	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hgsmi_process_display_info     ## -- Begin function hgsmi_process_display_info
	.p2align	4, 0x90
_hgsmi_process_display_info:            ## @hgsmi_process_display_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	40(%rbp), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	32(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %r12
	movq	_HGSMI_CH_VBVA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_VBVA_INFO_SCREEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$72, %esi
	callq	_hgsmi_buffer_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, 64(%rax)
	movq	%r13, 56(%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 48(%r15)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 40(%r15)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%r15)
	movq	%r12, 24(%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%r15)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r15)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r15)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_hgsmi_buffer_submit
	movq	%rbx, %rdi
	movq	%r15, %rsi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hgsmi_buffer_free              ## TAILCALL
LBB0_1:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HGSMI_CH_VBVA,4,2              ## @HGSMI_CH_VBVA
	.comm	_VBVA_INFO_SCREEN,4,2           ## @VBVA_INFO_SCREEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hgsmi_process_display_info     ; -- Begin function hgsmi_process_display_info
	.p2align	2
_hgsmi_process_display_info:            ; @hgsmi_process_display_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	x7, [sp, #8]                    ; 8-byte Folded Spill
	mov	x21, x6
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x26, x1
	mov	x19, x0
	ldp	x20, x28, [x29, #16]
Lloh0:
	adrp	x8, _HGSMI_CH_VBVA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HGSMI_CH_VBVA@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _VBVA_INFO_SCREEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VBVA_INFO_SCREEN@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	w1, #72
	bl	_hgsmi_buffer_alloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x27, x0
	stp	x25, x26, [x0, #56]
	stp	x23, x24, [x0, #40]
	stp	x21, x22, [x0, #24]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	stp	x20, x8, [x0, #8]
	str	x28, [x0]
	mov	x0, x19
	mov	x1, x27
	bl	_hgsmi_buffer_submit
	mov	x0, x19
	mov	x1, x27
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_hgsmi_buffer_free
LBB0_2:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HGSMI_CH_VBVA,4,2              ; @HGSMI_CH_VBVA
	.comm	_VBVA_INFO_SCREEN,4,2           ; @VBVA_INFO_SCREEN
.subsections_via_symbols
