	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetPrintingRect
_GetPrintingRect:                       ## @GetPrintingRect
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	%edi, %r15d
	shrq	$32, %r14
	movq	%rdx, %rbx
	shrq	$32, %rbx
	movq	_PHYSICALOFFSETX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDeviceCaps
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_PHYSICALOFFSETY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDeviceCaps
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_PHYSICALWIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDeviceCaps
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_PHYSICALHEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDeviceCaps
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_LOGPIXELSX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDeviceCaps
	movl	%eax, %r13d
	movq	_LOGPIXELSY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDeviceCaps
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_HORZRES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDeviceCaps
	movq	_VERTRES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDeviceCaps
	movl	%r13d, %eax
	imull	-72(%rbp), %eax                 ## 4-byte Folded Reload
	cltq
	imulq	$1731514375, %rax, %rax         ## imm = 0x6734D007
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$42, %rax
	addl	%ecx, %eax
	imull	%r13d, %r12d
	movslq	%r12d, %rcx
	imulq	$-1731514375, %rcx, %rdx        ## imm = 0x98CB2FF9
	movq	%rdx, %rcx
	shrq	$63, %rcx
	sarq	$42, %rdx
	addl	%ecx, %edx
	addl	-48(%rbp), %edx                 ## 4-byte Folded Reload
	subl	%eax, %edx
                                        ## kill: def $eax killed $eax killed $rax def $rax
	subl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	imull	%edi, %r14d
	movslq	%r14d, %rcx
	imulq	$1731514375, %rcx, %rcx         ## imm = 0x6734D007
	movq	%rcx, %rsi
	shrq	$63, %rsi
	sarq	$42, %rcx
	addl	%esi, %ecx
	imull	%edi, %ebx
	movslq	%ebx, %rsi
	imulq	$-1731514375, %rsi, %rsi        ## imm = 0x98CB2FF9
	movq	%rsi, %rdi
	shrq	$63, %rdi
	sarq	$42, %rsi
	addl	%edi, %esi
	addl	-52(%rbp), %esi                 ## 4-byte Folded Reload
	subl	%ecx, %esi
                                        ## kill: def $ecx killed $ecx killed $rcx def $rcx
	subl	-60(%rbp), %ecx                 ## 4-byte Folded Reload
	shlq	$32, %rcx
	orq	%rcx, %rax
	shlq	$32, %rsi
	orq	%rsi, %rdx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHYSICALOFFSETX,4,2            ## @PHYSICALOFFSETX
	.comm	_PHYSICALOFFSETY,4,2            ## @PHYSICALOFFSETY
	.comm	_PHYSICALWIDTH,4,2              ## @PHYSICALWIDTH
	.comm	_PHYSICALHEIGHT,4,2             ## @PHYSICALHEIGHT
	.comm	_LOGPIXELSX,4,2                 ## @LOGPIXELSX
	.comm	_LOGPIXELSY,4,2                 ## @LOGPIXELSY
	.comm	_HORZRES,4,2                    ## @HORZRES
	.comm	_VERTRES,4,2                    ## @VERTRES
	.no_dead_strip	_GetPrintingRect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetPrintingRect
_GetPrintingRect:                       ; @GetPrintingRect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	lsr	x28, x1, #32
	lsr	x8, x2, #32
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _PHYSICALOFFSETX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHYSICALOFFSETX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetDeviceCaps
	mov	x24, x0
Lloh3:
	adrp	x8, _PHYSICALOFFSETY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PHYSICALOFFSETY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_GetDeviceCaps
	mov	x25, x0
Lloh6:
	adrp	x8, _PHYSICALWIDTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PHYSICALWIDTH@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_GetDeviceCaps
	mov	x23, x0
Lloh9:
	adrp	x8, _PHYSICALHEIGHT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PHYSICALHEIGHT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_GetDeviceCaps
	mov	x22, x0
Lloh12:
	adrp	x8, _LOGPIXELSX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LOGPIXELSX@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_GetDeviceCaps
	mov	x26, x0
Lloh15:
	adrp	x8, _LOGPIXELSY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LOGPIXELSY@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_GetDeviceCaps
	mov	x27, x0
Lloh18:
	adrp	x8, _HORZRES@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HORZRES@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_GetDeviceCaps
Lloh21:
	adrp	x8, _VERTRES@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VERTRES@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_GetDeviceCaps
	mul	w8, w26, w20
	mov	w9, #53255
	movk	w9, #26420, lsl #16
	smull	x8, w8, w9
	lsr	x10, x8, #32
	lsr	x8, x8, #63
	add	w8, w8, w10, asr #10
	sub	w0, w8, w24
	mul	w10, w27, w28
	smull	x9, w10, w9
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #10
	sub	w10, w9, w25
	mul	w11, w26, w19
	mov	w12, #12281
	movk	w12, #39115, lsl #16
	smull	x11, w11, w12
	lsr	x13, x11, #32
	lsr	x11, x11, #63
	add	w11, w11, w13, asr #10
	add	w11, w23, w11
	sub	w1, w11, w8
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	mul	w8, w27, w8
	smull	x8, w8, w12
	lsr	x11, x8, #32
	lsr	x8, x8, #63
	add	w8, w8, w11, asr #10
	add	w8, w22, w8
	sub	w8, w8, w9
	bfi	x0, x10, #32, #32
	bfi	x1, x8, #32, #32
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PHYSICALOFFSETX,4,2            ; @PHYSICALOFFSETX
	.comm	_PHYSICALOFFSETY,4,2            ; @PHYSICALOFFSETY
	.comm	_PHYSICALWIDTH,4,2              ; @PHYSICALWIDTH
	.comm	_PHYSICALHEIGHT,4,2             ; @PHYSICALHEIGHT
	.comm	_LOGPIXELSX,4,2                 ; @LOGPIXELSX
	.comm	_LOGPIXELSY,4,2                 ; @LOGPIXELSY
	.comm	_HORZRES,4,2                    ; @HORZRES
	.comm	_VERTRES,4,2                    ; @VERTRES
	.no_dead_strip	_GetPrintingRect
.subsections_via_symbols
