	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitPropSheetPage              ## -- Begin function InitPropSheetPage
	.p2align	4, 0x90
_InitPropSheetPage:                     ## @InitPropSheetPage
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_MAX_CPL_PAGES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_3
## %bb.1:
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	movl	$20, %esi
	callq	_ZeroMemory
	movl	$20, -56(%rbp)
	movq	_PSP_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_hApplet@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	%r15d, %edi
	callq	_MAKEINTRESOURCE
	movl	%eax, -48(%rbp)
	movl	%r14d, -52(%rbp)
	movq	%r12, %rdi
	callq	_CreatePropertySheetPage
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_PropSheetAddPage
	jmp	LBB0_4
LBB0_3:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CPL_PAGES,8,3              ## @MAX_CPL_PAGES
	.comm	_PSP_DEFAULT,4,2                ## @PSP_DEFAULT
	.comm	_hApplet,4,2                    ## @hApplet
	.comm	_FALSE,4,2                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitPropSheetPage              ; -- Begin function InitPropSheetPage
	.p2align	2
_InitPropSheetPage:                     ; @InitPropSheetPage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MAX_CPL_PAGES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_CPL_PAGES@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w22, #20
	add	x0, sp, #8
	mov	w1, #20
	bl	_ZeroMemory
Lloh3:
	adrp	x8, _PSP_DEFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PSP_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh6:
	adrp	x8, _hApplet@GOTPAGE
Lloh7:
	ldr	x8, [x8, _hApplet@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w22, [sp, #8]
	str	w8, [sp, #20]
	mov	x0, x21
	bl	_MAKEINTRESOURCE
	stp	w20, w0, [sp, #12]
	add	x0, sp, #8
	bl	_CreatePropertySheetPage
	cbz	x0, LBB0_3
; %bb.2:
	mov	x1, x19
	bl	_PropSheetAddPage
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CPL_PAGES,8,3              ; @MAX_CPL_PAGES
	.comm	_PSP_DEFAULT,4,2                ; @PSP_DEFAULT
	.comm	_hApplet,4,2                    ; @hApplet
	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
