	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function x11_display_server_set_window_opacity
LCPI0_0:
	.quad	0x41847ae14799999a              ## double 42949672.950000003
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_x11_display_server_set_window_opacity: ## @x11_display_server_set_window_opacity
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	_g_x11_dpy@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_False@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	L_.str(%rip), %rsi
	callq	_XInternAtom
	movl	%eax, %r14d
	movl	(%r12), %edi
	movl	(%r13), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_XInternAtom
	movl	%ebx, %ecx
	cvtsi2sd	%rcx, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	movl	%ebx, (%r15)
	cvttsd2si	%xmm0, %rcx
	movl	%ecx, -44(%rbp)
	movl	(%r12), %edi
	movq	_g_x11_win@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmpl	$-1, %ecx
	je	LBB0_1
## %bb.2:
	movq	_PropModeReplace@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	leaq	-44(%rbp), %rbx
	movl	%r14d, %edx
	movl	%eax, %ecx
	movl	$32, %r8d
	pushq	$1
	pushq	%rbx
	callq	_XChangeProperty
	addq	$16, %rsp
	jmp	LBB0_3
LBB0_1:
	movl	%r14d, %edx
	callq	_XDeleteProperty
LBB0_3:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_x11_dpy,4,2                  ## @g_x11_dpy
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_NET_WM_WINDOW_OPACITY"

	.comm	_False,4,2                      ## @False
L_.str.1:                               ## @.str.1
	.asciz	"CARDINAL"

	.comm	_g_x11_win,4,2                  ## @g_x11_win
	.comm	_PropModeReplace,4,2            ## @PropModeReplace
	.no_dead_strip	_x11_display_server_set_window_opacity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x11_display_server_set_window_opacity
_x11_display_server_set_window_opacity: ; @x11_display_server_set_window_opacity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _g_x11_dpy@GOTPAGE
Lloh1:
	ldr	x22, [x22, _g_x11_dpy@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x23, _False@GOTPAGE
Lloh3:
	ldr	x23, [x23, _False@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_XInternAtom
	mov	x19, x0
	ldr	w0, [x22]
	ldr	w2, [x23]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_XInternAtom
	mov	x3, x0
	ucvtf	d0, w20
	str	w20, [x21]
	mov	x8, #39322
	movk	x8, #18329, lsl #16
	movk	x8, #31457, lsl #32
	movk	x8, #16772, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	fcvtzu	w8, d0
	str	w8, [sp, #12]
	ldr	w0, [x22]
Lloh8:
	adrp	x9, _g_x11_win@GOTPAGE
Lloh9:
	ldr	x9, [x9, _g_x11_win@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
	cmn	w8, #1
	b.eq	LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _PropModeReplace@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PropModeReplace@GOTPAGEOFF]
Lloh13:
	ldr	w5, [x8]
	add	x6, sp, #12
	mov	x2, x19
	mov	w4, #32
	mov	w7, #1
	bl	_XChangeProperty
	b	LBB0_3
LBB0_2:
	mov	x2, x19
	bl	_XDeleteProperty
LBB0_3:
	mov	w0, #1
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_g_x11_dpy,4,2                  ; @g_x11_dpy
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_NET_WM_WINDOW_OPACITY"

	.comm	_False,4,2                      ; @False
l_.str.1:                               ; @.str.1
	.asciz	"CARDINAL"

	.comm	_g_x11_win,4,2                  ; @g_x11_win
	.comm	_PropModeReplace,4,2            ; @PropModeReplace
	.no_dead_strip	_x11_display_server_set_window_opacity
.subsections_via_symbols
