	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _x_con_kill
__x_con_kill:                           ## @_x_con_kill
	.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
	movq	%rdi, %r14
	movq	(%rdi), %rsi
	movq	_XCB_NONE@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rsi
	je	LBB0_2
## %bb.1:
	movq	_conn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_xcb_free_colormap
LBB0_2:
	movq	_conn@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	8(%r14), %rsi
	callq	_draw_util_surface_free
	movl	(%rbx), %edi
	leaq	16(%r14), %rsi
	callq	_draw_util_surface_free
	movl	(%rbx), %edi
	movq	16(%r14), %rsi
	callq	_xcb_free_pixmap
	movq	(%r15), %rax
	movq	%rax, 16(%r14)
	movq	8(%r14), %rdi
	callq	_state_for_frame
	movq	%rax, %rbx
	movq	_state_head@GOTPCREL(%rip), %rdi
	movq	%rax, %rsi
	movq	%rax, %rdx
	callq	_CIRCLEQ_REMOVE
	movq	_old_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_old_state_head@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_CIRCLEQ_REMOVE
	movq	_initial_mapping_order@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_initial_mapping_head@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
	movl	(%rbx), %edi
	callq	_FREE
	movq	%rbx, %rdi
	callq	_free
	movq	8(%r14), %rax
	movq	_focused_id@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	(%r15), %rdx
	movq	%rdx, (%rcx)
LBB0_4:
	movq	_last_focused@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	(%r15), %rax
	movq	%rax, (%rcx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XCB_NONE,8,3                   ## @XCB_NONE
	.comm	_conn,4,2                       ## @conn
	.comm	_state_head,4,2                 ## @state_head
	.comm	_old_state_head,4,2             ## @old_state_head
	.comm	_old_state,8,3                  ## @old_state
	.comm	_initial_mapping_head,4,2       ## @initial_mapping_head
	.comm	_initial_mapping_order,4,2      ## @initial_mapping_order
	.comm	_focused_id,8,3                 ## @focused_id
	.comm	_last_focused,8,3               ## @last_focused
	.no_dead_strip	__x_con_kill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _x_con_kill
__x_con_kill:                           ; @_x_con_kill
	.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
	mov	x19, x0
	ldr	x1, [x0]
Lloh0:
	adrp	x21, _XCB_NONE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _XCB_NONE@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x20, _conn@GOTPAGE
Lloh3:
	ldr	x20, [x20, _conn@GOTPAGEOFF]
	cmp	x1, x8
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x20]
	bl	_xcb_free_colormap
LBB0_2:
	ldr	w0, [x20]
	add	x1, x19, #8
	bl	_draw_util_surface_free
	ldr	w0, [x20]
	add	x1, x19, #16
	bl	_draw_util_surface_free
	ldr	w0, [x20]
	ldr	x1, [x19, #16]
	bl	_xcb_free_pixmap
	ldr	x8, [x21]
	str	x8, [x19, #16]
	ldr	x0, [x19, #8]
	bl	_state_for_frame
	mov	x20, x0
Lloh4:
	adrp	x0, _state_head@GOTPAGE
Lloh5:
	ldr	x0, [x0, _state_head@GOTPAGEOFF]
	mov	x1, x20
	mov	x2, x20
	bl	_CIRCLEQ_REMOVE
Lloh6:
	adrp	x8, _old_state@GOTPAGE
Lloh7:
	ldr	x8, [x8, _old_state@GOTPAGEOFF]
Lloh8:
	ldr	x2, [x8]
Lloh9:
	adrp	x0, _old_state_head@GOTPAGE
Lloh10:
	ldr	x0, [x0, _old_state_head@GOTPAGEOFF]
	mov	x1, x20
	bl	_CIRCLEQ_REMOVE
Lloh11:
	adrp	x8, _initial_mapping_order@GOTPAGE
Lloh12:
	ldr	x8, [x8, _initial_mapping_order@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x0, _initial_mapping_head@GOTPAGE
Lloh15:
	ldr	x0, [x0, _initial_mapping_head@GOTPAGEOFF]
	mov	x1, x20
	bl	_TAILQ_REMOVE
	ldr	w0, [x20]
	bl	_FREE
	mov	x0, x20
	bl	_free
	ldr	x8, [x19, #8]
Lloh16:
	adrp	x9, _focused_id@GOTPAGE
Lloh17:
	ldr	x9, [x9, _focused_id@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x8, x10
	b.ne	LBB0_4
; %bb.3:
	ldr	x10, [x21]
	str	x10, [x9]
LBB0_4:
Lloh18:
	adrp	x9, _last_focused@GOTPAGE
Lloh19:
	ldr	x9, [x9, _last_focused@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x8, x10
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x21]
	str	x8, [x9]
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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_XCB_NONE,8,3                   ; @XCB_NONE
	.comm	_conn,4,2                       ; @conn
	.comm	_state_head,4,2                 ; @state_head
	.comm	_old_state_head,4,2             ; @old_state_head
	.comm	_old_state,8,3                  ; @old_state
	.comm	_initial_mapping_head,4,2       ; @initial_mapping_head
	.comm	_initial_mapping_order,4,2      ; @initial_mapping_order
	.comm	_focused_id,8,3                 ; @focused_id
	.comm	_last_focused,8,3               ; @last_focused
	.no_dead_strip	__x_con_kill
.subsections_via_symbols
