	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function con_set_fullscreen_mode
_con_set_fullscreen_mode:               ## @con_set_fullscreen_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	%rsi, (%rdi)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_ipc_send_window_event
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rcx
	movq	_CF_NONE@GOTPCREL(%rip), %rsi
	movl	(%rax), %edx
	cmpq	(%rsi), %rcx
	jne	LBB0_4
## %bb.2:
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_DLOG
	movq	_conn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movq	_A__NET_WM_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_A__NET_WM_STATE_FULLSCREEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_xcb_remove_property_atom       ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_DLOG
	movq	_conn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movq	_A__NET_WM_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_A__NET_WM_STATE_FULLSCREEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_xcb_add_property_atom          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mode now: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"fullscreen_mode"

	.comm	_CF_NONE,8,3                    ## @CF_NONE
L_.str.2:                               ## @.str.2
	.asciz	"Setting _NET_WM_STATE_FULLSCREEN for con = %p / window = %d.\n"

	.comm	_conn,4,2                       ## @conn
	.comm	_A__NET_WM_STATE,4,2            ## @A__NET_WM_STATE
	.comm	_A__NET_WM_STATE_FULLSCREEN,4,2 ## @A__NET_WM_STATE_FULLSCREEN
L_.str.3:                               ## @.str.3
	.asciz	"Removing _NET_WM_STATE_FULLSCREEN for con = %p / window = %d.\n"

	.no_dead_strip	_con_set_fullscreen_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function con_set_fullscreen_mode
_con_set_fullscreen_mode:               ; @con_set_fullscreen_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	x1, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DLOG
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_ipc_send_window_event
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x19]
Lloh4:
	adrp	x10, _CF_NONE@GOTPAGE
Lloh5:
	ldr	x10, [x10, _CF_NONE@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
	ldr	w8, [x8]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.2:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh7:
	adrp	x0, l_.str.3@PAGE
Lloh8:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_DLOG
Lloh9:
	adrp	x8, _conn@GOTPAGE
Lloh10:
	ldr	x8, [x8, _conn@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _A__NET_WM_STATE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _A__NET_WM_STATE@GOTPAGEOFF]
Lloh14:
	adrp	x9, _A__NET_WM_STATE_FULLSCREEN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _A__NET_WM_STATE_FULLSCREEN@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	ldr	w3, [x9]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_xcb_remove_property_atom
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	str	x8, [sp]
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_DLOG
Lloh20:
	adrp	x8, _conn@GOTPAGE
Lloh21:
	ldr	x8, [x8, _conn@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _A__NET_WM_STATE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _A__NET_WM_STATE@GOTPAGEOFF]
Lloh25:
	adrp	x9, _A__NET_WM_STATE_FULLSCREEN@GOTPAGE
Lloh26:
	ldr	x9, [x9, _A__NET_WM_STATE_FULLSCREEN@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
Lloh28:
	ldr	w3, [x9]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_xcb_add_property_atom
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mode now: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"fullscreen_mode"

	.comm	_CF_NONE,8,3                    ; @CF_NONE
l_.str.2:                               ; @.str.2
	.asciz	"Setting _NET_WM_STATE_FULLSCREEN for con = %p / window = %d.\n"

	.comm	_conn,4,2                       ; @conn
	.comm	_A__NET_WM_STATE,4,2            ; @A__NET_WM_STATE
	.comm	_A__NET_WM_STATE_FULLSCREEN,4,2 ; @A__NET_WM_STATE_FULLSCREEN
l_.str.3:                               ; @.str.3
	.asciz	"Removing _NET_WM_STATE_FULLSCREEN for con = %p / window = %d.\n"

	.no_dead_strip	_con_set_fullscreen_mode
.subsections_via_symbols
