	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PROPSHEET_GetPaddingInfoWizard
_PROPSHEET_GetPaddingInfoWizard:        ## @PROPSHEET_GetPaddingInfoWizard
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_IDHELP@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	_INTRNL_ANY_WIZARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_3
## %bb.4:
	movq	_IDCANCEL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_IDC_NEXT_BUTTON@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_GetDlgItem
	leaq	-48(%rbp), %r15
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_GetWindowRect
	xorl	%edi, %edi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movl	$2, %ecx
	callq	_MapWindowPoints
	movq	-48(%rbp), %rbx
	movq	_IDC_SUNKEN_LINE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_GetDlgItem
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_GetWindowRect
	xorl	%edi, %edi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movl	$2, %ecx
	callq	_MapWindowPoints
	subq	-40(%rbp), %rbx
	jns	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	_ERR
LBB0_7:
	movq	%rbx, %rax
	movq	%rbx, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_IDHELP,4,2                     ## @IDHELP
	.comm	_INTRNL_ANY_WIZARD,4,2          ## @INTRNL_ANY_WIZARD
	.comm	_IDC_NEXT_BUTTON,4,2            ## @IDC_NEXT_BUTTON
	.comm	_IDCANCEL,4,2                   ## @IDCANCEL
	.comm	_IDC_SUNKEN_LINE,4,2            ## @IDC_SUNKEN_LINE
L_.str.1:                               ## @.str.1
	.asciz	"padding negative ! Please report this !\n"

	.no_dead_strip	_PROPSHEET_GetPaddingInfoWizard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PROPSHEET_GetPaddingInfoWizard
_PROPSHEET_GetPaddingInfoWizard:        ; @PROPSHEET_GetPaddingInfoWizard
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _IDHELP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IDHELP@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x20]
Lloh4:
	adrp	x9, _INTRNL_ANY_WIZARD@GOTPAGE
Lloh5:
	ldr	x9, [x9, _INTRNL_ANY_WIZARD@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
Lloh7:
	adrp	x10, _IDC_NEXT_BUTTON@GOTPAGE
Lloh8:
	ldr	x10, [x10, _IDC_NEXT_BUTTON@GOTPAGEOFF]
Lloh9:
	adrp	x11, _IDCANCEL@GOTPAGE
Lloh10:
	ldr	x11, [x11, _IDCANCEL@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
LBB0_3:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
	add	x1, sp, #8
	bl	_GetWindowRect
	add	x2, sp, #8
	mov	w0, #0
	mov	x1, x19
	mov	w3, #2
	bl	_MapWindowPoints
	ldr	x20, [sp, #8]
Lloh11:
	adrp	x8, _IDC_SUNKEN_LINE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IDC_SUNKEN_LINE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
	add	x1, sp, #8
	bl	_GetWindowRect
	add	x2, sp, #8
	mov	w0, #0
	mov	x1, x19
	mov	w3, #2
	bl	_MapWindowPoints
	ldr	x8, [sp, #16]
	subs	x19, x20, x8
	b.pl	LBB0_5
; %bb.4:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ERR
LBB0_5:
	mov	x0, x19
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_IDHELP,4,2                     ; @IDHELP
	.comm	_INTRNL_ANY_WIZARD,4,2          ; @INTRNL_ANY_WIZARD
	.comm	_IDC_NEXT_BUTTON,4,2            ; @IDC_NEXT_BUTTON
	.comm	_IDCANCEL,4,2                   ; @IDCANCEL
	.comm	_IDC_SUNKEN_LINE,4,2            ; @IDC_SUNKEN_LINE
l_.str.1:                               ; @.str.1
	.asciz	"padding negative ! Please report this !\n"

	.no_dead_strip	_PROPSHEET_GetPaddingInfoWizard
.subsections_via_symbols
