	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PROPSHEET_AdjustButtons
_PROPSHEET_AdjustButtons:               ## @PROPSHEET_AdjustButtons
	.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	%rsi, %rbx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, %r12d
	movq	_IDOK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_PROPSHEET_GetPaddingInfo
	movq	%rax, %r13
	movq	%rax, %r14
	shrq	$32, %r14
	xorl	%r15d, %r15d
	cmpq	$0, 8(%rbx)
	sete	%r15b
	cmpq	$1, (%rbx)
	adcl	$-1, %r15d
	addl	$-3, %r15d
	leaq	-56(%rbp), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_GetClientRect
	movl	-52(%rbp), %ebx
	addl	%r13d, %ebx
	addl	-56(%rbp), %r14d
	movl	%r12d, %edi
	leaq	-56(%rbp), %rsi
	callq	_GetClientRect
	movl	-52(%rbp), %r13d
	subl	%ebx, %r13d
	movq	_IDOK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_GetDlgItem
	imull	%r14d, %r15d
	addl	-56(%rbp), %r15d
	movq	_SWP_NOSIZE@GOTPCREL(%rip), %rdx
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	orl	(%rdx), %ecx
	movq	_SWP_NOACTIVATE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rsp)
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_SetWindowPos
	movq	_DM_SETDEFID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IDOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	xorl	%ecx, %ecx
	callq	_SendMessageW
	movq	_IDCANCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_GetDlgItem
	addl	%r14d, %r15d
	movl	(%rbx), %ecx
	movq	_SWP_NOSIZE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_SWP_NOACTIVATE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rsp)
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_SetWindowPos
	movq	_IDC_APPLY_BUTTON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r12d, %edi
	callq	_GetDlgItem
	movl	%eax, %r12d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.1:
	addl	%r14d, %r15d
	jmp	LBB0_3
LBB0_2:
	movq	_SW_HIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_ShowWindow
LBB0_3:
	movq	%r14, %rbx
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SWP_NOSIZE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SWP_NOACTIVATE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rsp)
	movl	%r12d, %edi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_SetWindowPos
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_EnableWindow
	movq	_IDHELP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_GetDlgItem
	movl	%eax, %r14d
	addl	%r15d, %ebx
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SWP_NOSIZE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_SWP_NOACTIVATE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rsp)
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_SetWindowPos
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_SW_HIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_ShowWindow
LBB0_5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDOK,4,2                       ## @IDOK
	.comm	_SWP_NOSIZE,4,2                 ## @SWP_NOSIZE
	.comm	_SWP_NOZORDER,4,2               ## @SWP_NOZORDER
	.comm	_SWP_NOACTIVATE,4,2             ## @SWP_NOACTIVATE
	.comm	_DM_SETDEFID,4,2                ## @DM_SETDEFID
	.comm	_IDCANCEL,4,2                   ## @IDCANCEL
	.comm	_IDC_APPLY_BUTTON,4,2           ## @IDC_APPLY_BUTTON
	.comm	_SW_HIDE,4,2                    ## @SW_HIDE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_IDHELP,4,2                     ## @IDHELP
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_PROPSHEET_AdjustButtons
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PROPSHEET_AdjustButtons
_PROPSHEET_AdjustButtons:               ; @PROPSHEET_AdjustButtons
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _IDOK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IDOK@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_GetDlgItem
	mov	x21, x0
	mov	x0, x20
	bl	_PROPSHEET_GetPaddingInfo
	mov	x22, x0
	lsr	x24, x0, #32
	ldp	x9, x8, [x19]
	cmp	x8, #0
	mov	w8, #-3
	cinc	w8, w8, eq
	cmp	x9, #0
	cset	w9, ne
	sub	w25, w8, w9
	add	x1, sp, #8
	mov	x0, x21
	bl	_GetClientRect
	ldp	w26, w21, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_GetClientRect
	ldr	w8, [sp, #12]
	add	w9, w21, w22
	sub	w21, w8, w9
	ldr	w1, [x23]
	mov	x0, x20
	bl	_GetDlgItem
	ldr	w8, [sp, #8]
	add	w24, w26, w24
	madd	w22, w25, w24, w8
Lloh2:
	adrp	x25, _SWP_NOSIZE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _SWP_NOSIZE@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh4:
	adrp	x26, _SWP_NOZORDER@GOTPAGE
Lloh5:
	ldr	x26, [x26, _SWP_NOZORDER@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w8, w9, w8
Lloh6:
	adrp	x27, _SWP_NOACTIVATE@GOTPAGE
Lloh7:
	ldr	x27, [x27, _SWP_NOACTIVATE@GOTPAGEOFF]
	ldr	w9, [x27]
	orr	w6, w8, w9
	mov	w1, #0
	mov	x2, x22
	mov	x3, x21
	mov	w4, #0
	mov	w5, #0
	bl	_SetWindowPos
Lloh8:
	adrp	x8, _DM_SETDEFID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DM_SETDEFID@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x20
	mov	w3, #0
	bl	_SendMessageW
Lloh11:
	adrp	x8, _IDCANCEL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IDCANCEL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_GetDlgItem
	add	w22, w22, w24
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w8, w9, w8
	ldr	w9, [x27]
	orr	w6, w8, w9
	mov	w1, #0
	mov	x2, x22
	mov	x3, x21
	mov	w4, #0
	mov	w5, #0
	bl	_SetWindowPos
Lloh14:
	adrp	x8, _IDC_APPLY_BUTTON@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IDC_APPLY_BUTTON@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_GetDlgItem
	mov	x23, x0
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	add	w22, w22, w24
	b	LBB0_3
LBB0_2:
Lloh17:
	adrp	x8, _SW_HIDE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SW_HIDE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_ShowWindow
LBB0_3:
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w8, w9, w8
	ldr	w9, [x27]
	orr	w6, w8, w9
	mov	x0, x23
	mov	w1, #0
	mov	x2, x22
	mov	x3, x21
	mov	w4, #0
	mov	w5, #0
	bl	_SetWindowPos
Lloh20:
	adrp	x8, _FALSE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_EnableWindow
Lloh23:
	adrp	x8, _IDHELP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IDHELP@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_GetDlgItem
	mov	x20, x0
	add	w2, w22, w24
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w8, w9, w8
	ldr	w9, [x27]
	orr	w6, w8, w9
	mov	w1, #0
	mov	x3, x21
	mov	w4, #0
	mov	w5, #0
	bl	_SetWindowPos
	ldr	x8, [x19]
	cbnz	x8, LBB0_5
; %bb.4:
Lloh26:
	adrp	x8, _SW_HIDE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SW_HIDE@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ShowWindow
LBB0_5:
Lloh29:
	adrp	x8, _TRUE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	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	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_IDOK,4,2                       ; @IDOK
	.comm	_SWP_NOSIZE,4,2                 ; @SWP_NOSIZE
	.comm	_SWP_NOZORDER,4,2               ; @SWP_NOZORDER
	.comm	_SWP_NOACTIVATE,4,2             ; @SWP_NOACTIVATE
	.comm	_DM_SETDEFID,4,2                ; @DM_SETDEFID
	.comm	_IDCANCEL,4,2                   ; @IDCANCEL
	.comm	_IDC_APPLY_BUTTON,4,2           ; @IDC_APPLY_BUTTON
	.comm	_SW_HIDE,4,2                    ; @SW_HIDE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_IDHELP,4,2                     ; @IDHELP
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_PROPSHEET_AdjustButtons
.subsections_via_symbols
