	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_window_update_normal_hints     ## -- Begin function window_update_normal_hints
	.p2align	4, 0x90
_window_update_normal_hints:            ## @window_update_normal_hints
	.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	%r12
	pushq	%rbx
	subq	$128, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r12
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	leaq	-152(%rbp), %rdi
	callq	_xcb_icccm_get_wm_size_hints_from_reply
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	movq	_XCB_ICCCM_SIZE_HINT_P_MIN_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -152(%rbp)
	je	LBB0_6
## %bb.7:
	movsd	-144(%rbp), %xmm0               ## xmm0 = mem[0],zero
	movsd	-136(%rbp), %xmm1               ## xmm1 = mem[0],zero
	leaq	L_.str.1(%rip), %rdi
	movb	$2, %al
	callq	_DLOG
	movsd	(%r12), %xmm1                   ## xmm1 = mem[0],zero
	movsd	-144(%rbp), %xmm0               ## xmm0 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jne	LBB0_9
	jnp	LBB0_8
LBB0_9:
	movsd	%xmm0, (%r12)
	movl	$1, %r14d
	jmp	LBB0_10
LBB0_2:
	movq	_conn@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	80(%r12), %esi
	movl	%ebx, %edi
	callq	_xcb_icccm_get_wm_normal_hints_unchecked
	leaq	-152(%rbp), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_xcb_icccm_get_wm_normal_hints_reply
	testl	%eax, %eax
	jne	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_DLOG
	jmp	LBB0_70
LBB0_6:
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_8:
	xorl	%r14d, %r14d
LBB0_10:
	movsd	8(%r12), %xmm1                  ## xmm1 = mem[0],zero
	movsd	-136(%rbp), %xmm0               ## xmm0 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jne	LBB0_11
	jnp	LBB0_12
LBB0_11:
	movsd	%xmm0, 8(%r12)
	movl	$1, %r14d
LBB0_12:
	movq	_XCB_ICCCM_SIZE_HINT_P_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -152(%rbp)
	je	LBB0_17
## %bb.13:
	movl	-56(%rbp), %edx
	movl	-52(%rbp), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movl	-52(%rbp), %esi
	xorl	%edi, %edi
	callq	_max
	movl	%eax, %ebx
	movl	-56(%rbp), %esi
	xorl	%edi, %edi
	callq	_max
	movsd	16(%r12), %xmm1                 ## xmm1 = mem[0],zero
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	ucomisd	%xmm0, %xmm1
	jne	LBB0_14
	jnp	LBB0_15
LBB0_14:
	movsd	%xmm0, 16(%r12)
	movl	$1, %r14d
LBB0_15:
	movsd	24(%r12), %xmm1                 ## xmm1 = mem[0],zero
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	ucomisd	%xmm0, %xmm1
	jne	LBB0_16
	jnp	LBB0_22
LBB0_16:
	movsd	%xmm0, 24(%r12)
	jmp	LBB0_21
LBB0_17:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movsd	16(%r12), %xmm1                 ## xmm1 = mem[0],zero
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm1
	jne	LBB0_18
	jnp	LBB0_19
LBB0_18:
	movq	$0, 16(%r12)
	movl	$1, %r14d
LBB0_19:
	movsd	24(%r12), %xmm1                 ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jne	LBB0_20
	jnp	LBB0_22
LBB0_20:
	movq	$0, 24(%r12)
LBB0_21:
	movl	$1, %r14d
LBB0_22:
	movq	_XCB_ICCCM_SIZE_HINT_P_RESIZE_INC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -152(%rbp)
	je	LBB0_42
## %bb.23:
	movl	-128(%rbp), %esi
	movl	-124(%rbp), %edx
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movl	-128(%rbp), %eax
	leal	-1(%rax), %ecx
	movsd	32(%r12), %xmm1                 ## xmm1 = mem[0],zero
	cmpl	$65533, %ecx                    ## imm = 0xFFFD
	ja	LBB0_25
## %bb.24:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	jmp	LBB0_26
LBB0_42:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movsd	32(%r12), %xmm1                 ## xmm1 = mem[0],zero
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm1
	jne	LBB0_43
	jnp	LBB0_44
LBB0_43:
	movq	$0, 32(%r12)
	movl	$1, %r14d
LBB0_44:
	movsd	40(%r12), %xmm1                 ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jne	LBB0_33
	jp	LBB0_33
	jmp	LBB0_35
LBB0_25:
	xorpd	%xmm0, %xmm0
LBB0_26:
	ucomisd	%xmm0, %xmm1
	jne	LBB0_27
	jnp	LBB0_28
LBB0_27:
	movsd	%xmm0, 32(%r12)
	movl	$1, %r14d
LBB0_28:
	movl	-124(%rbp), %eax
	leal	-1(%rax), %ecx
	movsd	40(%r12), %xmm0                 ## xmm0 = mem[0],zero
	cmpl	$65533, %ecx                    ## imm = 0xFFFD
	ja	LBB0_31
## %bb.29:
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_30
	jnp	LBB0_35
LBB0_30:
	movsd	%xmm1, 40(%r12)
	jmp	LBB0_34
LBB0_31:
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jne	LBB0_33
	jnp	LBB0_35
LBB0_33:
	movq	$0, 40(%r12)
LBB0_34:
	movl	$1, %r14d
LBB0_35:
	movq	_XCB_ICCCM_SIZE_HINT_BASE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -152(%rbp)
	je	LBB0_45
## %bb.36:
	movsd	48(%r12), %xmm1                 ## xmm1 = mem[0],zero
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm1
	jb	LBB0_45
## %bb.37:
	movsd	56(%r12), %xmm1                 ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jae	LBB0_38
LBB0_45:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movsd	48(%r12), %xmm1                 ## xmm1 = mem[0],zero
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm1
	jne	LBB0_46
	jnp	LBB0_47
LBB0_46:
	movq	$0, 48(%r12)
	movl	$1, %r14d
LBB0_47:
	movsd	56(%r12), %xmm1                 ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jne	LBB0_48
	jnp	LBB0_50
LBB0_48:
	movq	$0, 56(%r12)
LBB0_49:
	movl	$1, %r14d
LBB0_50:
	testq	%r15, %r15
	je	LBB0_56
## %bb.51:
	movl	-152(%rbp), %eax
	movq	_XCB_ICCCM_SIZE_HINT_US_POSITION@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_53
## %bb.52:
	movq	_XCB_ICCCM_SIZE_HINT_P_POSITION@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_56
LBB0_53:
	movq	_XCB_ICCCM_SIZE_HINT_US_SIZE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_55
## %bb.54:
	movq	_XCB_ICCCM_SIZE_HINT_P_SIZE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_56
LBB0_55:
	movl	-60(%rbp), %esi
	movl	-64(%rbp), %edx
	movl	-72(%rbp), %r8d
	movl	-68(%rbp), %ecx
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movupd	-72(%rbp), %xmm0
	movupd	%xmm0, (%r15)
LBB0_56:
	movq	_XCB_ICCCM_SIZE_HINT_P_ASPECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -152(%rbp)
	je	LBB0_65
## %bb.57:
	movq	-104(%rbp), %rax
	testq	%rax, %rax
	js	LBB0_65
## %bb.58:
	movsd	-96(%rbp), %xmm4                ## xmm4 = mem[0],zero
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm4
	jbe	LBB0_65
## %bb.59:
	movq	-88(%rbp), %rcx
	testq	%rcx, %rcx
	js	LBB0_65
## %bb.60:
	movsd	-80(%rbp), %xmm3                ## xmm3 = mem[0],zero
	xorpd	%xmm2, %xmm2
	ucomisd	%xmm2, %xmm3
	jbe	LBB0_65
## %bb.61:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	divsd	%xmm4, %xmm0
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	xorps	%xmm1, %xmm1
	cvtsi2sd	%rcx, %xmm1
	divsd	%xmm3, %xmm1
	leaq	L_.str.9(%rip), %rdi
	movsd	%xmm1, -48(%rbp)                ## 8-byte Spill
	movb	$2, %al
	callq	_DLOG
	movsd	64(%r12), %xmm0                 ## xmm0 = mem[0],zero
	subsd	-40(%rbp), %xmm0                ## 8-byte Folded Reload
	callq	_fabs
	movq	_DBL_EPSILON@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jle	LBB0_63
## %bb.62:
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, 64(%r12)
	movl	$1, %r14d
LBB0_63:
	movsd	72(%r12), %xmm0                 ## xmm0 = mem[0],zero
	subsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	callq	_fabs
	cmpq	(%rbx), %rax
	jle	LBB0_70
## %bb.64:
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, 72(%r12)
	jmp	LBB0_69
LBB0_65:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_DLOG
	movsd	64(%r12), %xmm1                 ## xmm1 = mem[0],zero
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm1
	jne	LBB0_66
	jnp	LBB0_67
LBB0_66:
	movq	$0, 64(%r12)
	movl	$1, %r14d
LBB0_67:
	movsd	72(%r12), %xmm1                 ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jne	LBB0_68
	jnp	LBB0_70
LBB0_68:
	movq	$0, 72(%r12)
LBB0_69:
	movl	$1, %r14d
LBB0_70:
	movl	%r14d, %eax
	addq	$128, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	movsd	-120(%rbp), %xmm0               ## xmm0 = mem[0],zero
	movsd	-112(%rbp), %xmm1               ## xmm1 = mem[0],zero
	leaq	L_.str.6(%rip), %rdi
	movb	$2, %al
	callq	_DLOG
	movsd	48(%r12), %xmm1                 ## xmm1 = mem[0],zero
	movsd	-120(%rbp), %xmm0               ## xmm0 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jne	LBB0_39
	jnp	LBB0_40
LBB0_39:
	movsd	%xmm0, 48(%r12)
	movl	$1, %r14d
LBB0_40:
	movsd	56(%r12), %xmm1                 ## xmm1 = mem[0],zero
	movsd	-112(%rbp), %xmm0               ## xmm0 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jne	LBB0_41
	jnp	LBB0_50
LBB0_41:
	movsd	%xmm0, 56(%r12)
	jmp	LBB0_49
	.cfi_endproc
                                        ## -- End function
	.comm	_conn,4,2                       ## @conn
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not get WM_NORMAL_HINTS\n"

	.comm	_XCB_ICCCM_SIZE_HINT_P_MIN_SIZE,4,2 ## @XCB_ICCCM_SIZE_HINT_P_MIN_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"Minimum size: %d (width) x %d (height)\n"

	.comm	_XCB_ICCCM_SIZE_HINT_P_MAX_SIZE,4,2 ## @XCB_ICCCM_SIZE_HINT_P_MAX_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"Maximum size: %d (width) x %d (height)\n"

L_.str.3:                               ## @.str.3
	.asciz	"Clearing maximum size \n"

	.comm	_XCB_ICCCM_SIZE_HINT_P_RESIZE_INC,4,2 ## @XCB_ICCCM_SIZE_HINT_P_RESIZE_INC
L_.str.4:                               ## @.str.4
	.asciz	"Size increments: %d (width) x %d (height)\n"

L_.str.5:                               ## @.str.5
	.asciz	"Clearing size increments\n"

	.comm	_XCB_ICCCM_SIZE_HINT_BASE_SIZE,4,2 ## @XCB_ICCCM_SIZE_HINT_BASE_SIZE
L_.str.6:                               ## @.str.6
	.asciz	"Base size: %d (width) x %d (height)\n"

L_.str.7:                               ## @.str.7
	.asciz	"Clearing base size\n"

	.comm	_XCB_ICCCM_SIZE_HINT_US_POSITION,4,2 ## @XCB_ICCCM_SIZE_HINT_US_POSITION
	.comm	_XCB_ICCCM_SIZE_HINT_P_POSITION,4,2 ## @XCB_ICCCM_SIZE_HINT_P_POSITION
	.comm	_XCB_ICCCM_SIZE_HINT_US_SIZE,4,2 ## @XCB_ICCCM_SIZE_HINT_US_SIZE
	.comm	_XCB_ICCCM_SIZE_HINT_P_SIZE,4,2 ## @XCB_ICCCM_SIZE_HINT_P_SIZE
L_.str.8:                               ## @.str.8
	.asciz	"Setting geometry x=%d y=%d w=%d h=%d\n"

	.comm	_XCB_ICCCM_SIZE_HINT_P_ASPECT,4,2 ## @XCB_ICCCM_SIZE_HINT_P_ASPECT
L_.str.9:                               ## @.str.9
	.asciz	"Aspect ratio set: minimum %f, maximum %f\n"

	.comm	_DBL_EPSILON,8,3                ## @DBL_EPSILON
L_.str.10:                              ## @.str.10
	.asciz	"Clearing aspect ratios\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_window_update_normal_hints     ; -- Begin function window_update_normal_hints
	.p2align	2
_window_update_normal_hints:            ; @window_update_normal_hints
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	d9, d8, [sp, #144]              ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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 b8, -56
	.cfi_offset b9, -64
	mov	x20, x2
	mov	x19, x0
	cbz	x1, LBB0_5
; %bb.1:
	add	x0, sp, #40
	bl	_xcb_icccm_get_wm_size_hints_from_reply
	cbz	w0, LBB0_6
LBB0_2:
	ldr	w8, [sp, #40]
Lloh0:
	adrp	x9, _XCB_ICCCM_SIZE_HINT_P_MIN_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XCB_ICCCM_SIZE_HINT_P_MIN_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.3:
	ldp	d0, d1, [sp, #48]
	stp	d0, d1, [sp]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DLOG
	ldr	d1, [x19]
	ldr	d0, [sp, #48]
	fcmp	d1, d0
	b.eq	LBB0_8
; %bb.4:
	str	d0, [x19]
	mov	w21, #1
	b	LBB0_9
LBB0_5:
Lloh5:
	adrp	x8, _conn@GOTPAGE
Lloh6:
	ldr	x8, [x8, _conn@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
	ldr	w1, [x19, #80]
	mov	x0, x21
	bl	_xcb_icccm_get_wm_normal_hints_unchecked
	mov	x1, x0
	add	x2, sp, #40
	mov	x0, x21
	mov	x3, #0
	bl	_xcb_icccm_get_wm_normal_hints_reply
	cbnz	w0, LBB0_2
LBB0_6:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DLOG
	mov	w21, #0
	b	LBB0_63
LBB0_7:
	mov	w21, #0
	b	LBB0_11
LBB0_8:
	mov	w21, #0
LBB0_9:
	ldr	d1, [x19, #8]
	ldr	d0, [sp, #56]
	fcmp	d1, d0
	b.eq	LBB0_11
; %bb.10:
	str	d0, [x19, #8]
	mov	w21, #1
LBB0_11:
	ldr	w8, [sp, #40]
Lloh10:
	adrp	x9, _XCB_ICCCM_SIZE_HINT_P_MAX_SIZE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _XCB_ICCCM_SIZE_HINT_P_MAX_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.12:
	ldp	w9, w8, [sp, #136]
	stp	x8, x9, [sp]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DLOG
	ldr	w1, [sp, #140]
	mov	w0, #0
	bl	_max
	mov	x22, x0
	ldr	w1, [sp, #136]
	mov	w0, #0
	bl	_max
	ldr	d1, [x19, #16]
	scvtf	d0, w22
	fcmp	d1, d0
	b.eq	LBB0_14
; %bb.13:
	str	d0, [x19, #16]
	mov	w21, #1
LBB0_14:
	ldr	d1, [x19, #24]
	scvtf	d0, w0
	fcmp	d1, d0
	b.eq	LBB0_21
; %bb.15:
	str	d0, [x19, #24]
	b	LBB0_20
LBB0_16:
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DLOG
	ldr	d0, [x19, #16]
	fcmp	d0, #0.0
	b.eq	LBB0_18
; %bb.17:
	str	xzr, [x19, #16]
	mov	w21, #1
LBB0_18:
	ldr	d0, [x19, #24]
	fcmp	d0, #0.0
	b.eq	LBB0_21
; %bb.19:
	str	xzr, [x19, #24]
LBB0_20:
	mov	w21, #1
LBB0_21:
	ldr	w8, [sp, #40]
Lloh17:
	adrp	x9, _XCB_ICCCM_SIZE_HINT_P_RESIZE_INC@GOTPAGE
Lloh18:
	ldr	x9, [x9, _XCB_ICCCM_SIZE_HINT_P_RESIZE_INC@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.22:
	ldp	w8, w9, [sp, #64]
	stp	x8, x9, [sp]
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DLOG
	ldr	w8, [sp, #64]
	sub	w9, w8, #1
	ldr	d1, [x19, #32]
	mov	w10, #65533
	cmp	w9, w10
	b.hi	LBB0_27
; %bb.23:
	scvtf	d0, w8
	fcmp	d1, d0
	b.ne	LBB0_28
	b	LBB0_29
LBB0_24:
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DLOG
	ldr	d0, [x19, #32]
	fcmp	d0, #0.0
	b.eq	LBB0_26
; %bb.25:
	str	xzr, [x19, #32]
	mov	w21, #1
LBB0_26:
	ldr	d0, [x19, #40]
	b	LBB0_32
LBB0_27:
	movi	d0, #0000000000000000
	fcmp	d1, #0.0
	b.eq	LBB0_29
LBB0_28:
	str	d0, [x19, #32]
	mov	w21, #1
LBB0_29:
	ldr	w8, [sp, #68]
	sub	w9, w8, #1
	ldr	d0, [x19, #40]
	mov	w10, #65533
	cmp	w9, w10
	b.hi	LBB0_32
; %bb.30:
	scvtf	d1, w8
	fcmp	d0, d1
	b.eq	LBB0_35
; %bb.31:
	str	d1, [x19, #40]
	b	LBB0_34
LBB0_32:
	fcmp	d0, #0.0
	b.eq	LBB0_35
; %bb.33:
	str	xzr, [x19, #40]
LBB0_34:
	mov	w21, #1
LBB0_35:
	ldr	w8, [sp, #40]
Lloh24:
	adrp	x9, _XCB_ICCCM_SIZE_HINT_BASE_SIZE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _XCB_ICCCM_SIZE_HINT_BASE_SIZE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_38
; %bb.36:
	ldr	d0, [x19, #48]
	fcmp	d0, #0.0
	b.lt	LBB0_38
; %bb.37:
	ldr	d0, [x19, #56]
	fcmp	d0, #0.0
	b.ge	LBB0_64
LBB0_38:
Lloh27:
	adrp	x0, l_.str.7@PAGE
Lloh28:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DLOG
	ldr	d0, [x19, #48]
	fcmp	d0, #0.0
	b.eq	LBB0_40
; %bb.39:
	str	xzr, [x19, #48]
	mov	w21, #1
LBB0_40:
	ldr	d0, [x19, #56]
	fcmp	d0, #0.0
	b.eq	LBB0_43
; %bb.41:
	str	xzr, [x19, #56]
LBB0_42:
	mov	w21, #1
LBB0_43:
	cbz	x20, LBB0_49
; %bb.44:
	ldr	w8, [sp, #40]
Lloh29:
	adrp	x9, _XCB_ICCCM_SIZE_HINT_US_POSITION@GOTPAGE
Lloh30:
	ldr	x9, [x9, _XCB_ICCCM_SIZE_HINT_US_POSITION@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_46
; %bb.45:
Lloh32:
	adrp	x9, _XCB_ICCCM_SIZE_HINT_P_POSITION@GOTPAGE
Lloh33:
	ldr	x9, [x9, _XCB_ICCCM_SIZE_HINT_P_POSITION@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_49
LBB0_46:
Lloh35:
	adrp	x9, _XCB_ICCCM_SIZE_HINT_US_SIZE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _XCB_ICCCM_SIZE_HINT_US_SIZE@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_48
; %bb.47:
Lloh38:
	adrp	x9, _XCB_ICCCM_SIZE_HINT_P_SIZE@GOTPAGE
Lloh39:
	ldr	x9, [x9, _XCB_ICCCM_SIZE_HINT_P_SIZE@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_49
LBB0_48:
	ldp	w9, w8, [sp, #128]
	ldp	w11, w10, [sp, #120]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh41:
	adrp	x0, l_.str.8@PAGE
Lloh42:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_DLOG
	ldur	q0, [sp, #120]
	str	q0, [x20]
LBB0_49:
	ldr	w8, [sp, #40]
Lloh43:
	adrp	x9, _XCB_ICCCM_SIZE_HINT_P_ASPECT@GOTPAGE
Lloh44:
	ldr	x9, [x9, _XCB_ICCCM_SIZE_HINT_P_ASPECT@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_58
; %bb.50:
	ldr	x8, [sp, #88]
	tbnz	x8, #63, LBB0_58
; %bb.51:
	ldr	d0, [sp, #96]
	fcmp	d0, #0.0
	b.le	LBB0_58
; %bb.52:
	ldr	x9, [sp, #104]
	tbnz	x9, #63, LBB0_58
; %bb.53:
	ldr	d1, [sp, #112]
	fcmp	d1, #0.0
	b.le	LBB0_58
; %bb.54:
	scvtf	d2, x8
	fdiv	d9, d2, d0
	scvtf	d0, x9
	fdiv	d8, d0, d1
	stp	d9, d8, [sp]
Lloh46:
	adrp	x0, l_.str.9@PAGE
Lloh47:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_DLOG
	ldr	d0, [x19, #64]
	fsub	d0, d0, d9
	bl	_fabs
Lloh48:
	adrp	x20, _DBL_EPSILON@GOTPAGE
Lloh49:
	ldr	x20, [x20, _DBL_EPSILON@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.le	LBB0_56
; %bb.55:
	str	d9, [x19, #64]
	mov	w21, #1
LBB0_56:
	ldr	d0, [x19, #72]
	fsub	d0, d0, d8
	bl	_fabs
	ldr	x8, [x20]
	cmp	x0, x8
	b.le	LBB0_63
; %bb.57:
	str	d8, [x19, #72]
	b	LBB0_62
LBB0_58:
Lloh50:
	adrp	x0, l_.str.10@PAGE
Lloh51:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_DLOG
	ldr	d0, [x19, #64]
	fcmp	d0, #0.0
	b.eq	LBB0_60
; %bb.59:
	str	xzr, [x19, #64]
	mov	w21, #1
LBB0_60:
	ldr	d0, [x19, #72]
	fcmp	d0, #0.0
	b.eq	LBB0_63
; %bb.61:
	str	xzr, [x19, #72]
LBB0_62:
	mov	w21, #1
LBB0_63:
	mov	x0, x21
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #144]              ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_64:
	ldp	d0, d1, [sp, #72]
	stp	d0, d1, [sp]
Lloh52:
	adrp	x0, l_.str.6@PAGE
Lloh53:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DLOG
	ldr	d1, [x19, #48]
	ldr	d0, [sp, #72]
	fcmp	d1, d0
	b.eq	LBB0_66
; %bb.65:
	str	d0, [x19, #48]
	mov	w21, #1
LBB0_66:
	ldr	d1, [x19, #56]
	ldr	d0, [sp, #80]
	fcmp	d1, d0
	b.eq	LBB0_43
; %bb.67:
	str	d0, [x19, #56]
	b	LBB0_42
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_conn,4,2                       ; @conn
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not get WM_NORMAL_HINTS\n"

	.comm	_XCB_ICCCM_SIZE_HINT_P_MIN_SIZE,4,2 ; @XCB_ICCCM_SIZE_HINT_P_MIN_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"Minimum size: %d (width) x %d (height)\n"

	.comm	_XCB_ICCCM_SIZE_HINT_P_MAX_SIZE,4,2 ; @XCB_ICCCM_SIZE_HINT_P_MAX_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"Maximum size: %d (width) x %d (height)\n"

l_.str.3:                               ; @.str.3
	.asciz	"Clearing maximum size \n"

	.comm	_XCB_ICCCM_SIZE_HINT_P_RESIZE_INC,4,2 ; @XCB_ICCCM_SIZE_HINT_P_RESIZE_INC
l_.str.4:                               ; @.str.4
	.asciz	"Size increments: %d (width) x %d (height)\n"

l_.str.5:                               ; @.str.5
	.asciz	"Clearing size increments\n"

	.comm	_XCB_ICCCM_SIZE_HINT_BASE_SIZE,4,2 ; @XCB_ICCCM_SIZE_HINT_BASE_SIZE
l_.str.6:                               ; @.str.6
	.asciz	"Base size: %d (width) x %d (height)\n"

l_.str.7:                               ; @.str.7
	.asciz	"Clearing base size\n"

	.comm	_XCB_ICCCM_SIZE_HINT_US_POSITION,4,2 ; @XCB_ICCCM_SIZE_HINT_US_POSITION
	.comm	_XCB_ICCCM_SIZE_HINT_P_POSITION,4,2 ; @XCB_ICCCM_SIZE_HINT_P_POSITION
	.comm	_XCB_ICCCM_SIZE_HINT_US_SIZE,4,2 ; @XCB_ICCCM_SIZE_HINT_US_SIZE
	.comm	_XCB_ICCCM_SIZE_HINT_P_SIZE,4,2 ; @XCB_ICCCM_SIZE_HINT_P_SIZE
l_.str.8:                               ; @.str.8
	.asciz	"Setting geometry x=%d y=%d w=%d h=%d\n"

	.comm	_XCB_ICCCM_SIZE_HINT_P_ASPECT,4,2 ; @XCB_ICCCM_SIZE_HINT_P_ASPECT
l_.str.9:                               ; @.str.9
	.asciz	"Aspect ratio set: minimum %f, maximum %f\n"

	.comm	_DBL_EPSILON,8,3                ; @DBL_EPSILON
l_.str.10:                              ; @.str.10
	.asciz	"Clearing aspect ratios\n"

.subsections_via_symbols
