	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_client_rect
_get_client_rect:                       ## @get_client_rect
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %ebx
	callq	_GetWindowTheme
	movl	%eax, %r14d
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_GetClientRect
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.1:
	movq	_GWL_STYLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_GetWindowLongW
	movq	_PBS_VERTICAL@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	jne	LBB0_2
## %bb.3:
	movq	_PP_BAR@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	movl	$-1, %esi
	movl	$-1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_InflateRect                    ## TAILCALL
LBB0_2:
	movq	_PP_BARVERT@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edx
	movl	%r14d, %edi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movq	%r15, %r8
	movq	%r15, %r9
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GetThemeBackgroundContentRect  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GWL_STYLE,4,2                  ## @GWL_STYLE
	.comm	_PBS_VERTICAL,4,2               ## @PBS_VERTICAL
	.comm	_PP_BARVERT,4,2                 ## @PP_BARVERT
	.comm	_PP_BAR,4,2                     ## @PP_BAR
	.no_dead_strip	_get_client_rect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_client_rect
_get_client_rect:                       ; @get_client_rect
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x21, x0
	bl	_GetWindowTheme
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	bl	_GetClientRect
	cbz	w20, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _GWL_STYLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GWL_STYLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_GetWindowLongW
Lloh3:
	adrp	x8, _PBS_VERTICAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PBS_VERTICAL@GOTPAGEOFF]
Lloh5:
	adrp	x9, _PP_BARVERT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PP_BARVERT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x10, _PP_BAR@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PP_BAR@GOTPAGEOFF]
	tst	w8, w0
	csel	x8, x10, x9, eq
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	w3, #0
	mov	x4, x19
	mov	x5, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_GetThemeBackgroundContentRect
LBB0_2:
	mov	x0, x19
	mov	w1, #-1
	mov	w2, #-1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_InflateRect
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GWL_STYLE,4,2                  ; @GWL_STYLE
	.comm	_PBS_VERTICAL,4,2               ; @PBS_VERTICAL
	.comm	_PP_BARVERT,4,2                 ; @PP_BARVERT
	.comm	_PP_BAR,4,2                     ; @PP_BAR
	.no_dead_strip	_get_client_rect
.subsections_via_symbols
