	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_floating_disable               ## -- Begin function floating_disable
	.p2align	4, 0x90
_floating_disable:                      ## @floating_disable
	.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, %r15
	callq	_con_is_floating
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	%r15, %rdi
	callq	_con_get_workspace
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_con_is_internal
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdi
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LOG                            ## TAILCALL
LBB0_5:
	movq	%rbx, %rdi
	callq	_con_descend_tiling_focused
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	_CT_WORKSPACE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	24(%r15), %rbx
	movq	%r15, %rdi
	callq	_con_detach
	movq	$0, 24(%r15)
	movq	_DONT_KILL_WINDOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_tree_close_internal
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_con_attach
	movq	$0, 8(%r15)
	movq	24(%r15), %rdi
	callq	_con_fix_percent
	jmp	LBB0_8
LBB0_7:
	movq	_AFTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_insert_con_into
LBB0_8:
	movq	_FLOATING_USER_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_floating_set_hint_atom
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipc_send_window_event          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Container isn't floating, not doing anything.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Can't disable floating for container in internal workspace.\n"

	.comm	_CT_WORKSPACE,8,3               ## @CT_WORKSPACE
	.comm	_DONT_KILL_WINDOW,4,2           ## @DONT_KILL_WINDOW
	.comm	_AFTER,4,2                      ## @AFTER
	.comm	_FLOATING_USER_OFF,4,2          ## @FLOATING_USER_OFF
L_.str.2:                               ## @.str.2
	.asciz	"floating"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_floating_disable               ; -- Begin function floating_disable
	.p2align	2
_floating_disable:                      ; @floating_disable
	.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
	bl	_con_is_floating
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_con_get_workspace
	mov	x20, x0
	bl	_con_is_internal
	cbz	x0, LBB0_5
; %bb.2:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	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
	b	_LOG
LBB0_5:
	mov	x0, x20
	bl	_con_descend_tiling_focused
	mov	x20, x0
	ldr	x8, [x0]
Lloh4:
	adrp	x9, _CT_WORKSPACE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _CT_WORKSPACE@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	x21, [x19, #24]
	mov	x0, x19
	bl	_con_detach
	str	xzr, [x19, #24]
Lloh7:
	adrp	x8, _DONT_KILL_WINDOW@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DONT_KILL_WINDOW@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #1
	bl	_tree_close_internal
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_con_attach
	str	xzr, [x19, #8]
	ldr	x0, [x19, #24]
	bl	_con_fix_percent
	b	LBB0_8
LBB0_7:
Lloh10:
	adrp	x8, _AFTER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AFTER@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_insert_con_into
LBB0_8:
Lloh13:
	adrp	x8, _FLOATING_USER_OFF@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FLOATING_USER_OFF@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	mov	x0, x19
	mov	w1, #0
	bl	_floating_set_hint_atom
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	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
	b	_ipc_send_window_event
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Container isn't floating, not doing anything.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Can't disable floating for container in internal workspace.\n"

	.comm	_CT_WORKSPACE,8,3               ; @CT_WORKSPACE
	.comm	_DONT_KILL_WINDOW,4,2           ; @DONT_KILL_WINDOW
	.comm	_AFTER,4,2                      ; @AFTER
	.comm	_FLOATING_USER_OFF,4,2          ; @FLOATING_USER_OFF
l_.str.2:                               ; @.str.2
	.asciz	"floating"

.subsections_via_symbols
