	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PROPSHEET_CreateTabControl
_PROPSHEET_CreateTabControl:            ## @PROPSHEET_CreateTabControl
	.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	_IDC_TABCONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	_TCIF_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_MAX_TABTEXT_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	(%rbx), %r13d
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	_TCM_SETIMAGELIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	xorl	%edx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_SendMessageW
LBB0_2:
	movq	_WM_SETREDRAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r15d, %r15d
	movl	%r14d, %r12d
	movl	%r14d, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	testl	%r13d, %r13d
	jle	LBB0_8
## %bb.3:
	movl	$8, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	notl	%ecx
	andl	%ecx, -56(%rbp)
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-8(%rax,%r14), %rax
	movq	%rax, -64(%rbp)
	movq	_TCM_INSERTITEMW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	movl	%ebx, %edx
	leaq	-64(%rbp), %rcx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_SendMessageW
	incq	%rbx
	addq	$16, %r14
	cmpq	%rbx, %r13
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	cmpq	$0, (%rax,%r14)
	movq	_TCIF_IMAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	orl	%ecx, -56(%rbp)
	movl	%r15d, -52(%rbp)
	incl	%r15d
	jmp	LBB0_7
LBB0_8:
	movq	_WM_SETREDRAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	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	_IDC_TABCONTROL,4,2             ## @IDC_TABCONTROL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_TCIF_TEXT,4,2                  ## @TCIF_TEXT
	.comm	_MAX_TABTEXT_LENGTH,4,2         ## @MAX_TABTEXT_LENGTH
	.comm	_TCM_SETIMAGELIST,4,2           ## @TCM_SETIMAGELIST
	.comm	_WM_SETREDRAW,4,2               ## @WM_SETREDRAW
	.comm	_TCIF_IMAGE,4,2                 ## @TCIF_IMAGE
	.comm	_TCM_INSERTITEMW,4,2            ## @TCM_INSERTITEMW
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_PROPSHEET_CreateTabControl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PROPSHEET_CreateTabControl
_PROPSHEET_CreateTabControl:            ; @PROPSHEET_CreateTabControl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, _IDC_TABCONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDC_TABCONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetDlgItem
	mov	x20, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
Lloh5:
	adrp	x8, _TCIF_TEXT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TCIF_TEXT@GOTPAGEOFF]
Lloh7:
	adrp	x9, _MAX_TABTEXT_LENGTH@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MAX_TABTEXT_LENGTH@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
	str	w8, [sp, #16]
	str	w9, [sp, #24]
	ldr	w25, [x19]
	ldr	x3, [x19, #16]
	cbz	x3, LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _TCM_SETIMAGELIST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TCM_SETIMAGELIST@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_SendMessageW
LBB0_2:
Lloh14:
	adrp	x22, _WM_SETREDRAW@GOTPAGE
Lloh15:
	ldr	x22, [x22, _WM_SETREDRAW@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	bl	_SendMessageW
	cmp	w25, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x23, #0
	mov	w21, #0
	mov	w24, #0
	lsl	x25, x25, #4
Lloh16:
	adrp	x26, _TCIF_IMAGE@GOTPAGE
Lloh17:
	ldr	x26, [x26, _TCIF_IMAGE@GOTPAGEOFF]
Lloh18:
	adrp	x27, _TCM_INSERTITEMW@GOTPAGE
Lloh19:
	ldr	x27, [x27, _TCM_INSERTITEMW@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [sp, #16]
	bic	w9, w10, w9
	str	w9, [sp, #16]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x8, x23]
	str	x8, [sp, #8]
	ldr	w1, [x27]
	add	x3, sp, #8
	mov	x0, x20
	mov	x2, x21
	bl	_SendMessageW
	add	w21, w21, #1
	add	x23, x23, #16
	cmp	x25, x23
	b.eq	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x9, x8, x23
	ldr	x10, [x9, #8]
	ldr	w9, [x26]
	cbz	x10, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [sp, #16]
	orr	w9, w10, w9
	stp	w9, w24, [sp, #16]
	add	w24, w24, #1
	b	LBB0_5
LBB0_8:
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #1
	mov	w3, #0
	bl	_SendMessageW
Lloh20:
	adrp	x8, _TRUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_TABCONTROL,4,2             ; @IDC_TABCONTROL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_TCIF_TEXT,4,2                  ; @TCIF_TEXT
	.comm	_MAX_TABTEXT_LENGTH,4,2         ; @MAX_TABTEXT_LENGTH
	.comm	_TCM_SETIMAGELIST,4,2           ; @TCM_SETIMAGELIST
	.comm	_WM_SETREDRAW,4,2               ; @WM_SETREDRAW
	.comm	_TCIF_IMAGE,4,2                 ; @TCIF_IMAGE
	.comm	_TCM_INSERTITEMW,4,2            ; @TCM_INSERTITEMW
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_PROPSHEET_CreateTabControl
.subsections_via_symbols
