	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function updateFramebufferTransparency
_updateFramebufferTransparency:         ## @updateFramebufferTransparency
	.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	%rdi, %rbx
	xorl	%eax, %eax
	callq	_IsWindowsVistaOrGreater
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	leaq	-48(%rbp), %rdi
	callq	_DwmIsCompositionEnabled
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	cmpq	$0, -48(%rbp)
	je	LBB0_6
## %bb.3:
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	$-1, %edx
	movl	$-1, %ecx
	callq	_CreateRectRgn
	movl	%eax, %r14d
	movl	$0, -28(%rbp)
	movq	_DWM_BB_ENABLE@GOTPCREL(%rip), %rax
	movq	_DWM_BB_BLURREGION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -40(%rbp)
	movl	%r14d, -32(%rbp)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	(%rbx), %edi
	leaq	-40(%rbp), %rsi
	callq	_DwmEnableBlurBehindWindow
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	movq	_GWL_EXSTYLE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_GetWindowLongW
	movq	_WS_EX_LAYERED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edi
	movl	(%r15), %esi
	movl	%eax, %edx
	callq	_SetWindowLongW
	movl	(%rbx), %ebx
	movl	$255, %edi
	xorl	%esi, %esi
	movl	$255, %edx
	callq	_RGB
	movq	_LWA_COLORKEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$255, %edx
	callq	_SetLayeredWindowAttributes
LBB0_5:
	movl	%r14d, %edi
	callq	_DeleteObject
	jmp	LBB0_7
LBB0_6:
	movl	(%rbx), %edi
	movq	_GWL_EXSTYLE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_GetWindowLongW
	movq	_WS_EX_LAYERED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%rbx), %edi
	movl	(%r14), %esi
	callq	_SetWindowLongW
	movq	_RDW_ERASE@GOTPCREL(%rip), %rax
	movq	_RDW_INVALIDATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	(%rbx), %edi
	movq	_RDW_FRAME@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_RedrawWindow
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DWM_BB_ENABLE,4,2              ## @DWM_BB_ENABLE
	.comm	_DWM_BB_BLURREGION,4,2          ## @DWM_BB_BLURREGION
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_GWL_EXSTYLE,4,2                ## @GWL_EXSTYLE
	.comm	_WS_EX_LAYERED,4,2              ## @WS_EX_LAYERED
	.comm	_LWA_COLORKEY,4,2               ## @LWA_COLORKEY
	.comm	_RDW_ERASE,4,2                  ## @RDW_ERASE
	.comm	_RDW_INVALIDATE,4,2             ## @RDW_INVALIDATE
	.comm	_RDW_FRAME,4,2                  ## @RDW_FRAME
	.no_dead_strip	_updateFramebufferTransparency
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function updateFramebufferTransparency
_updateFramebufferTransparency:         ; @updateFramebufferTransparency
	.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, x0
	bl	_IsWindowsVistaOrGreater
	cbz	w0, LBB0_7
; %bb.1:
	add	x0, sp, #24
	bl	_DwmIsCompositionEnabled
	bl	_SUCCEEDED
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_6
; %bb.3:
	mov	w0, #0
	mov	w1, #0
	mov	w2, #-1
	mov	w3, #-1
	bl	_CreateRectRgn
	mov	x20, x0
Lloh0:
	adrp	x8, _DWM_BB_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DWM_BB_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DWM_BB_BLURREGION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DWM_BB_BLURREGION@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	stp	w0, wzr, [sp, #16]
Lloh6:
	adrp	x9, _TRUE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #8]
	ldr	w0, [x19]
	add	x1, sp, #8
	bl	_DwmEnableBlurBehindWindow
	bl	_SUCCEEDED
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x19]
Lloh9:
	adrp	x21, _GWL_EXSTYLE@GOTPAGE
Lloh10:
	ldr	x21, [x21, _GWL_EXSTYLE@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_GetWindowLongW
Lloh11:
	adrp	x8, _WS_EX_LAYERED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WS_EX_LAYERED@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w0, [x19]
	ldr	w1, [x21]
	bl	_SetWindowLongW
	ldr	w19, [x19]
	mov	w0, #255
	mov	w1, #0
	mov	w2, #255
	bl	_RGB
	mov	x1, x0
Lloh14:
	adrp	x8, _LWA_COLORKEY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LWA_COLORKEY@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #255
	bl	_SetLayeredWindowAttributes
LBB0_5:
	mov	x0, x20
	bl	_DeleteObject
	b	LBB0_7
LBB0_6:
	ldr	w0, [x19]
Lloh17:
	adrp	x20, _GWL_EXSTYLE@GOTPAGE
Lloh18:
	ldr	x20, [x20, _GWL_EXSTYLE@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_GetWindowLongW
Lloh19:
	adrp	x8, _WS_EX_LAYERED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _WS_EX_LAYERED@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_SetWindowLongW
	ldr	w0, [x19]
Lloh22:
	adrp	x8, _RDW_ERASE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RDW_ERASE@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _RDW_INVALIDATE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _RDW_INVALIDATE@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh28:
	adrp	x9, _RDW_FRAME@GOTPAGE
Lloh29:
	ldr	x9, [x9, _RDW_FRAME@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	x1, #0
	mov	x2, #0
	bl	_RedrawWindow
LBB0_7:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_DWM_BB_ENABLE,4,2              ; @DWM_BB_ENABLE
	.comm	_DWM_BB_BLURREGION,4,2          ; @DWM_BB_BLURREGION
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_GWL_EXSTYLE,4,2                ; @GWL_EXSTYLE
	.comm	_WS_EX_LAYERED,4,2              ; @WS_EX_LAYERED
	.comm	_LWA_COLORKEY,4,2               ; @LWA_COLORKEY
	.comm	_RDW_ERASE,4,2                  ; @RDW_ERASE
	.comm	_RDW_INVALIDATE,4,2             ; @RDW_INVALIDATE
	.comm	_RDW_FRAME,4,2                  ; @RDW_FRAME
	.no_dead_strip	_updateFramebufferTransparency
.subsections_via_symbols
