	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function dml1_rq_dlg_get_row_heights
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dml1_rq_dlg_get_row_heights:           ## @dml1_rq_dlg_get_row_heights
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -88(%rbp)                 ## 4-byte Spill
	movl	%ecx, -100(%rbp)                ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movl	40(%rbp), %esi
	movq	_dm_sw_linear@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_dm_vert@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r9d, %edi
	callq	_get_bytes_per_element
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_dml_log2
	movl	%eax, %r14d
	movl	$0, -52(%rbp)
	movl	$0, -48(%rbp)
	movl	%r13d, -92(%rbp)                ## 4-byte Spill
	cmpl	16(%rbp), %r13d
	movl	%ebx, -96(%rbp)                 ## 4-byte Spill
	jne	LBB0_2
## %bb.1:
	movl	$256, -52(%rbp)                 ## imm = 0x100
	movl	$1, -48(%rbp)
	movl	$1, %edi
	callq	_dml_log2
	movl	%eax, %r15d
	movl	$256, %edi                      ## imm = 0x100
	jmp	LBB0_3
LBB0_2:
	movl	24(%rbp), %r13d
	leaq	-52(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movl	%ebx, %edx
	callq	_get_blk256_size
	movl	-48(%rbp), %edi
	callq	_dml_log2
	movl	%eax, %r15d
	movl	%r13d, %edi
	callq	_get_blk_size_bytes
	movl	%eax, %edi
LBB0_3:
	callq	_dml_log2
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	16(%rbp), %eax
	movq	_dm_sw_linear@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addl	$-8, %eax
	cvtsi2sd	%rax, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	movl	$1, %edi
	callq	_dml_ceil
	addl	%r15d, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_5:
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	leal	(%r14,%r15), %eax
	movb	$11, %cl
	subb	%al, %cl
	leal	3(%r15), %eax
	cmpl	32(%rbp), %r12d
	movzbl	%cl, %edx
	movzbl	%al, %ecx
	cmovel	%edx, %ecx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %edi
	callq	_dml_log2
	movl	%eax, %r13d
	movl	%r12d, -64(%rbp)                ## 4-byte Spill
	leal	-8(%r13), %r14d
	shrl	%r14d
	addl	%r15d, %r14d
	movl	16(%rbp), %eax
	movl	-92(%rbp), %r15d                ## 4-byte Reload
	cmpl	%eax, %r15d
	movl	(%rbx), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	$0, %ecx
	cmovel	%ecx, %r14d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	subl	%r14d, %eax
	cmpl	$2, %eax
	movl	$2, %ebx
	cmovbl	%eax, %ebx
	cmpl	%r13d, -72(%rbp)                ## 4-byte Folded Reload
	cmovbel	%ecx, %ebx
	movl	%ebx, %r12d
	xorl	$3, %r12d
	movl	$1, %edi
	callq	_ASSERT
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movl	%r13d, %eax
	subl	%edx, %eax
	subl	%r14d, %eax
	addl	%r12d, %eax
	cmpl	16(%rbp), %r15d
	jne	LBB0_7
## %bb.6:
	movl	%eax, %ecx
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	shll	%cl, %eax
	xorl	%edx, %edx
	divl	-88(%rbp)                       ## 4-byte Folded Reload
	movl	%eax, %edi
	callq	_dml_log2
	movl	%eax, %edi
	movl	$1, %esi
	callq	_dml_floor
	movl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	$3, %eax
	setae	%dil
	callq	_ASSERT
	cmpl	$7, %ebx
	movl	$7, %ecx
	cmovbl	%ebx, %ecx
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	32(%rbp), %edx
	jmp	LBB0_8
LBB0_7:
	addl	%r14d, %ebx
	addl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%esi, %ecx
	subl	%edx, %ecx
	cmpl	%eax, %ecx
	cmovael	%eax, %ecx
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movl	32(%rbp), %edx
	cmpl	%edx, %eax
	cmovnel	%ebx, %ecx
LBB0_8:
	cmpl	%edx, %eax
	setne	%al
	cmpl	$2577, -100(%rbp)               ## 4-byte Folded Reload
                                        ## imm = 0xA11
	setae	%dl
	cmpl	$4, -96(%rbp)                   ## 4-byte Folded Reload
	setae	%bl
	andb	%dl, %bl
	cmpl	$12, -80(%rbp)                  ## 4-byte Folded Reload
	sete	%dl
	andb	%bl, %dl
	cmpl	$16, %esi
	setae	%bl
	andb	%dl, %bl
	andb	%al, %bl
	movzbl	%bl, %eax
	subl	%eax, %ecx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dm_sw_linear,4,2               ## @dm_sw_linear
	.comm	_dm_vert,4,2                    ## @dm_vert
	.no_dead_strip	_dml1_rq_dlg_get_row_heights
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dml1_rq_dlg_get_row_heights
_dml1_rq_dlg_get_row_heights:           ; @dml1_rq_dlg_get_row_heights
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x27, x7
	mov	x23, x6
	str	w4, [sp, #8]                    ; 4-byte Folded Spill
	str	w3, [sp, #28]                   ; 4-byte Folded Spill
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
	str	x1, [sp, #32]                   ; 8-byte Folded Spill
	mov	x25, x0
	ldr	w1, [x29, #20]
Lloh0:
	adrp	x26, _dm_sw_linear@GOTPAGE
Lloh1:
	ldr	x26, [x26, _dm_sw_linear@GOTPAGEOFF]
	ldr	w20, [x26]
Lloh2:
	adrp	x8, _dm_vert@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dm_vert@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	mov	x0, x5
	bl	_get_bytes_per_element
	mov	x19, x0
	bl	_dml_log2
	mov	x24, x0
	str	xzr, [sp, #40]
	str	w20, [sp, #12]                  ; 4-byte Folded Spill
	cmp	w20, w23
	b.ne	LBB0_2
; %bb.1:
	mov	w27, #256
	mov	w8, #1
	stp	w8, w27, [sp, #40]
	mov	w0, #1
	bl	_dml_log2
	mov	x28, x0
	b	LBB0_3
LBB0_2:
	add	x0, sp, #44
	add	x1, sp, #40
	mov	x2, x19
	bl	_get_blk256_size
	ldr	w0, [sp, #40]
	bl	_dml_log2
	mov	x28, x0
	mov	x0, x27
	bl	_get_blk_size_bytes
	mov	x27, x0
LBB0_3:
	str	w19, [sp, #24]                  ; 4-byte Folded Spill
	ldr	w20, [x29, #16]
	mov	x0, x27
	bl	_dml_log2
	mov	x27, x0
	ldr	w8, [x26]
	cmp	w8, w23
	b.ne	LBB0_5
; %bb.4:
	mov	w19, #0
	b	LBB0_6
LBB0_5:
	sub	w8, w27, #8
	ucvtf	d0, w8
	fmov	d1, #0.50000000
	fmul	d0, d0, d1
	mov	w0, #1
	bl	_dml_ceil
	add	w19, w0, w28
LBB0_6:
	add	w8, w28, #3
	mov	w9, #11
	add	w10, w24, w28
	sub	w9, w9, w10
	cmp	w21, w20
	csel	w8, w9, w8, eq
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	str	w8, [x9]
	ldr	w0, [x25, #4]
	bl	_dml_log2
	mov	x26, x0
	ldr	w8, [x25]
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
	sub	w8, w0, #8
	add	w8, w28, w8, lsr #1
	ldr	w22, [sp, #12]                  ; 4-byte Folded Reload
	cmp	w22, w23
	csel	w28, wzr, w8, eq
	sub	w8, w19, w28
	mov	w9, #2
	cmp	w8, #2
	csel	w8, w8, w9, lo
	cmp	w27, w0
	mov	x25, x27
	mov	x27, x20
	mov	x20, x21
	csel	w21, w8, wzr, hi
	mov	w0, #1
	bl	_ASSERT
	add	w8, w24, w28
	sub	w8, w26, w8
	eor	w9, w21, #0x3
	add	w8, w8, w9
	cmp	w22, w23
	b.ne	LBB0_8
; %bb.7:
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	lsl	w8, w9, w8
	ldr	w9, [sp, #8]                    ; 4-byte Folded Reload
	udiv	w0, w8, w9
	bl	_dml_log2
	mov	w1, #1
	bl	_dml_floor
	mov	x22, x0
	cmp	w0, #2
	cset	w0, hi
	bl	_ASSERT
	mov	w8, #7
	cmp	w22, #7
	csel	w8, w22, w8, lo
	b	LBB0_9
LBB0_8:
	add	w9, w21, w28
	add	w10, w24, w19
	sub	w10, w25, w10
	cmp	w10, w8
	csel	w8, w10, w8, lo
	cmp	w20, w27
	csel	w8, w8, w9, eq
LBB0_9:
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w9, #2576
	ccmp	w20, w27, #4, hi
	ldr	w9, [sp, #24]                   ; 4-byte Folded Reload
	ccmp	w9, #3, #0, ne
	ccmp	w26, #12, #0, hi
	ccmp	w25, #15, #0, eq
	cset	w9, hi
	sub	w8, w8, w9
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	str	w8, [x9]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dm_sw_linear,4,2               ; @dm_sw_linear
	.comm	_dm_vert,4,2                    ; @dm_vert
	.no_dead_strip	_dml1_rq_dlg_get_row_heights
.subsections_via_symbols
