	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_hidden_state
_set_hidden_state:                      ## @set_hidden_state
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_state_for_frame
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_con_is_hidden
	cmpl	(%r14), %eax
	je	LBB0_6
## %bb.2:
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_DLOG
	movq	_conn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movq	_A__NET_WM_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_A__NET_WM_STATE_HIDDEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_xcb_add_property_atom
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_DLOG
	movq	_conn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movq	_A__NET_WM_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_A__NET_WM_STATE_HIDDEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_xcb_remove_property_atom
LBB0_5:
	movl	%r15d, (%r14)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting _NET_WM_STATE_HIDDEN for con = %p\n"

	.comm	_conn,4,2                       ## @conn
	.comm	_A__NET_WM_STATE,4,2            ## @A__NET_WM_STATE
	.comm	_A__NET_WM_STATE_HIDDEN,4,2     ## @A__NET_WM_STATE_HIDDEN
L_.str.1:                               ## @.str.1
	.asciz	"removing _NET_WM_STATE_HIDDEN for con = %p\n"

	.no_dead_strip	_set_hidden_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_hidden_state
_set_hidden_state:                      ; @set_hidden_state
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x21, x0
	ldr	w0, [x0, #8]
	bl	_state_for_frame
	mov	x19, x0
	mov	x0, x21
	bl	_con_is_hidden
	ldr	w8, [x19]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.2:
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_DLOG
Lloh2:
	adrp	x8, _conn@GOTPAGE
Lloh3:
	ldr	x8, [x8, _conn@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x8, [x21]
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _A__NET_WM_STATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _A__NET_WM_STATE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _A__NET_WM_STATE_HIDDEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _A__NET_WM_STATE_HIDDEN@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	bl	_xcb_add_property_atom
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_DLOG
Lloh13:
	adrp	x8, _conn@GOTPAGE
Lloh14:
	ldr	x8, [x8, _conn@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	x8, [x21]
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _A__NET_WM_STATE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _A__NET_WM_STATE@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _A__NET_WM_STATE_HIDDEN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _A__NET_WM_STATE_HIDDEN@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	bl	_xcb_remove_property_atom
LBB0_5:
	str	w20, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting _NET_WM_STATE_HIDDEN for con = %p\n"

	.comm	_conn,4,2                       ; @conn
	.comm	_A__NET_WM_STATE,4,2            ; @A__NET_WM_STATE
	.comm	_A__NET_WM_STATE_HIDDEN,4,2     ; @A__NET_WM_STATE_HIDDEN
l_.str.1:                               ; @.str.1
	.asciz	"removing _NET_WM_STATE_HIDDEN for con = %p\n"

	.no_dead_strip	_set_hidden_state
.subsections_via_symbols
