	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function REBAR_Create
_REBAR_Create:                          ## @REBAR_Create
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_rebar@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TRACE_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	4(%r14), %edi
	leaq	-40(%rbp), %r15
	movq	%r15, %rsi
	callq	_GetWindowRect
	movl	4(%r14), %edi
	leaq	-36(%rbp), %r12
	movq	%r12, %rsi
	callq	_GetClientRect
	movq	%r15, %rdi
	callq	_wine_dbgstr_rect
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_wine_dbgstr_rect
	movl	12(%rbx), %ecx
	movl	8(%rbx), %r8d
	movl	(%rbx), %edx
	movl	4(%rbx), %r9d
	movl	%edx, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_TRACE
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movl	4(%r14), %edi
	movq	_themeClass@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_OpenThemeData
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_WS_BORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r14)
LBB0_4:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rebar,4,2                      ## @rebar
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"window=(%s) client=(%s) cs=(%d,%d %dx%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"created!\n"

	.comm	_themeClass,4,2                 ## @themeClass
	.comm	_WS_BORDER,4,2                  ## @WS_BORDER
	.no_dead_strip	_REBAR_Create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function REBAR_Create
_REBAR_Create:                          ; @REBAR_Create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _rebar@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rebar@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_TRACE_ON
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
	sub	x1, x29, #36
	bl	_GetWindowRect
	ldr	w0, [x19, #4]
	sub	x1, x29, #40
	bl	_GetClientRect
	sub	x0, x29, #36
	bl	_wine_dbgstr_rect
	mov	x21, x0
	sub	x0, x29, #40
	bl	_wine_dbgstr_rect
                                        ; kill: def $w0 killed $w0 def $x0
	ldp	w9, w8, [x20, #8]
	ldp	w11, w10, [x20]
	stp	x10, x11, [sp, #32]
	stp	x8, x9, [sp, #16]
	stp	x21, x0, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
LBB0_2:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	ldr	w0, [x19, #4]
Lloh7:
	adrp	x8, _themeClass@GOTPAGE
Lloh8:
	ldr	x8, [x8, _themeClass@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_OpenThemeData
	cbz	x0, LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _WS_BORDER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WS_BORDER@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
LBB0_4:
	mov	w0, #0
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_rebar,4,2                      ; @rebar
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"window=(%s) client=(%s) cs=(%d,%d %dx%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"created!\n"

	.comm	_themeClass,4,2                 ; @themeClass
	.comm	_WS_BORDER,4,2                  ; @WS_BORDER
	.no_dead_strip	_REBAR_Create
.subsections_via_symbols
