	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function REBAR_NCCreate
_REBAR_NCCreate:                        ## @REBAR_NCCreate
	.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, %r14
	movl	%edi, %r15d
	callq	_REBAR_GetInfoPtr
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_ERR
	movq	_FALSE@GOTPCREL(%rip), %r12
	jmp	LBB0_10
LBB0_2:
	movq	_rebar@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRACE_ON
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	-64(%rbp), %r12
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_GetWindowRect
	leaq	-60(%rbp), %r13
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_GetClientRect
	movq	%r12, %rdi
	callq	_wine_dbgstr_rect
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_wine_dbgstr_rect
	movl	16(%r14), %ecx
	movl	12(%r14), %r8d
	movl	4(%r14), %edx
	movl	8(%r14), %r9d
	movl	%edx, (%rsp)
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_TRACE
LBB0_4:
	movl	$120, %edi
	callq	_Alloc
	movq	%rax, %rbx
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_SetWindowLongPtrW
	movq	_CLR_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 112(%rbx)
	movq	%rax, 104(%rbx)
	movq	_comctl32_color@GOTPCREL(%rip), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 100(%rbx)
	movl	(%rax), %eax
	movl	%eax, 96(%rbx)
	movabsq	$-4294967297, %rax              ## imm = 0xFFFFFFFEFFFFFFFF
	movq	%rax, (%rbx)
	movl	$-1, 8(%rbx)
	movl	%r15d, 92(%rbx)
	movq	_TRUE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, 88(%rbx)
	movq	_IDC_ARROW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_LoadCursorW
	movq	%rax, 80(%rbx)
	movq	_IDC_SIZEWE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_LoadCursorW
	movq	%rax, 72(%rbx)
	movq	_IDC_SIZENS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_LoadCursorW
	movq	%rax, 64(%rbx)
	movq	_IDC_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_LoadCursorW
	movq	%rax, 56(%rbx)
	movq	$0, 48(%rbx)
	movq	_SYSTEM_FONT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetStockObject
	movq	%rax, 32(%rbx)
	movl	$8, %edi
	callq	_DPA_Create
	movl	%eax, 40(%rbx)
	movq	_NF_REQUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_REBAR_NotifyFormat
	movl	(%r14), %edx
	movl	%edx, 12(%rbx)
	movq	_WS_VISIBLE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, 16(%rbx)
	movq	_CCS_LAYOUT_MASK@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	_CCS_TOP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, 16(%rbx)
LBB0_6:
	movq	_GWL_STYLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_SetWindowLongW
	movl	$16, -56(%rbp)
	movq	_SPI_GETNONCLIENTMETRICS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-56(%rbp), %rdx
	movl	$16, %esi
	xorl	%ecx, %ecx
	callq	_SystemParametersInfoW
	leaq	-48(%rbp), %rdi
	movq	_FW_NORMAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, -48(%rbp)
	jle	LBB0_8
## %bb.7:
	movq	%rax, -48(%rbp)
LBB0_8:
	callq	_CreateFontIndirectW
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rax, 24(%rbx)
	movq	%rax, 32(%rbx)
LBB0_10:
	movl	(%r12), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Strange info structure pointer *not* NULL\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_rebar,4,2                      ## @rebar
L_.str.1:                               ## @.str.1
	.asciz	"window=(%s) client=(%s) cs=(%d,%d %dx%d)\n"

	.comm	_CLR_NONE,8,3                   ## @CLR_NONE
	.comm	_comctl32_color,8,2             ## @comctl32_color
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_IDC_ARROW,8,3                  ## @IDC_ARROW
	.comm	_IDC_SIZEWE,8,3                 ## @IDC_SIZEWE
	.comm	_IDC_SIZENS,8,3                 ## @IDC_SIZENS
	.comm	_IDC_SIZE,8,3                   ## @IDC_SIZE
	.comm	_SYSTEM_FONT,4,2                ## @SYSTEM_FONT
	.comm	_NF_REQUERY,4,2                 ## @NF_REQUERY
	.comm	_WS_VISIBLE,4,2                 ## @WS_VISIBLE
	.comm	_CCS_LAYOUT_MASK,4,2            ## @CCS_LAYOUT_MASK
	.comm	_CCS_TOP,4,2                    ## @CCS_TOP
	.comm	_GWL_STYLE,4,2                  ## @GWL_STYLE
	.comm	_SPI_GETNONCLIENTMETRICS,4,2    ## @SPI_GETNONCLIENTMETRICS
	.comm	_FW_NORMAL,8,3                  ## @FW_NORMAL
	.no_dead_strip	_REBAR_NCCreate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function REBAR_NCCreate
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	4294967294                      ; 0xfffffffe
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_REBAR_NCCreate:                        ; @REBAR_NCCreate
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_REBAR_GetInfoPtr
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ERR
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_11
LBB0_2:
Lloh4:
	adrp	x8, _rebar@GOTPAGE
Lloh5:
	ldr	x8, [x8, _rebar@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_TRACE_ON
	cbz	x0, LBB0_4
; %bb.3:
	add	x1, sp, #28
	mov	x0, x19
	bl	_GetWindowRect
	add	x1, sp, #24
	mov	x0, x19
	bl	_GetClientRect
	add	x0, sp, #28
	bl	_wine_dbgstr_rect
	mov	x20, x0
	add	x0, sp, #24
	bl	_wine_dbgstr_rect
	mov	x2, x0
	ldp	w4, w3, [x21, #12]
	ldp	w6, w5, [x21, #4]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_TRACE
LBB0_4:
	mov	w0, #120
	bl	_Alloc
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_SetWindowLongPtrW
Lloh9:
	adrp	x8, _CLR_NONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CLR_NONE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	stp	x8, x8, [x20, #104]
Lloh12:
	adrp	x8, _comctl32_color@GOTPAGE
Lloh13:
	ldr	x8, [x8, _comctl32_color@GOTPAGEOFF]
Lloh14:
	ldr	d0, [x8]
	str	d0, [x20, #96]
Lloh15:
	adrp	x8, lCPI0_0@PAGE
Lloh16:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x20]
	mov	w8, #-1
	str	w8, [x20, #8]
Lloh17:
	adrp	x8, _TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	stp	w8, w19, [x20, #88]
Lloh20:
	adrp	x8, _IDC_ARROW@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IDC_ARROW@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_LoadCursorW
	str	x0, [x20, #80]
Lloh23:
	adrp	x8, _IDC_SIZEWE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IDC_SIZEWE@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_LoadCursorW
	str	x0, [x20, #72]
Lloh26:
	adrp	x8, _IDC_SIZENS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IDC_SIZENS@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_LoadCursorW
	str	x0, [x20, #64]
Lloh29:
	adrp	x8, _IDC_SIZE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IDC_SIZE@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_LoadCursorW
	stp	xzr, x0, [x20, #48]
Lloh32:
	adrp	x8, _SYSTEM_FONT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SYSTEM_FONT@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	_GetStockObject
	str	x0, [x20, #32]
	mov	w0, #8
	bl	_DPA_Create
	str	w0, [x20, #40]
Lloh35:
	adrp	x8, _NF_REQUERY@GOTPAGE
Lloh36:
	ldr	x8, [x8, _NF_REQUERY@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_REBAR_NotifyFormat
	ldr	w8, [x21]
Lloh38:
	adrp	x9, _WS_VISIBLE@GOTPAGE
Lloh39:
	ldr	x9, [x9, _WS_VISIBLE@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w2, w9, w8
	stp	w8, w2, [x20, #12]
Lloh41:
	adrp	x8, _CCS_LAYOUT_MASK@GOTPAGE
Lloh42:
	ldr	x8, [x8, _CCS_LAYOUT_MASK@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	tst	w8, w2
	b.ne	LBB0_6
; %bb.5:
Lloh44:
	adrp	x8, _CCS_TOP@GOTPAGE
Lloh45:
	ldr	x8, [x8, _CCS_TOP@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	orr	w2, w8, w2
	str	w2, [x20, #16]
LBB0_6:
Lloh47:
	adrp	x8, _GWL_STYLE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _GWL_STYLE@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SetWindowLongW
	mov	w8, #16
	str	w8, [sp, #8]
Lloh50:
	adrp	x8, _SPI_GETNONCLIENTMETRICS@GOTPAGE
Lloh51:
	ldr	x8, [x8, _SPI_GETNONCLIENTMETRICS@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	add	x19, sp, #8
	add	x2, sp, #8
	mov	w1, #16
	mov	w3, #0
	bl	_SystemParametersInfoW
	add	x0, x19, #8
	ldr	x9, [sp, #16]
Lloh53:
	adrp	x8, _FW_NORMAL@GOTPAGE
Lloh54:
	ldr	x8, [x8, _FW_NORMAL@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	cmp	x9, x8
	b.le	LBB0_8
; %bb.7:
	str	x8, [sp, #16]
LBB0_8:
	bl	_CreateFontIndirectW
	cbz	x0, LBB0_10
; %bb.9:
	stp	x0, x0, [x20, #24]
LBB0_10:
Lloh56:
	adrp	x8, _TRUE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Strange info structure pointer *not* NULL\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_rebar,4,2                      ; @rebar
l_.str.1:                               ; @.str.1
	.asciz	"window=(%s) client=(%s) cs=(%d,%d %dx%d)\n"

	.comm	_CLR_NONE,8,3                   ; @CLR_NONE
	.comm	_comctl32_color,8,2             ; @comctl32_color
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_IDC_ARROW,8,3                  ; @IDC_ARROW
	.comm	_IDC_SIZEWE,8,3                 ; @IDC_SIZEWE
	.comm	_IDC_SIZENS,8,3                 ; @IDC_SIZENS
	.comm	_IDC_SIZE,8,3                   ; @IDC_SIZE
	.comm	_SYSTEM_FONT,4,2                ; @SYSTEM_FONT
	.comm	_NF_REQUERY,4,2                 ; @NF_REQUERY
	.comm	_WS_VISIBLE,4,2                 ; @WS_VISIBLE
	.comm	_CCS_LAYOUT_MASK,4,2            ; @CCS_LAYOUT_MASK
	.comm	_CCS_TOP,4,2                    ; @CCS_TOP
	.comm	_GWL_STYLE,4,2                  ; @GWL_STYLE
	.comm	_SPI_GETNONCLIENTMETRICS,4,2    ; @SPI_GETNONCLIENTMETRICS
	.comm	_FW_NORMAL,8,3                  ; @FW_NORMAL
	.no_dead_strip	_REBAR_NCCreate
.subsections_via_symbols
