	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_splitbar
_draw_splitbar:                         ## @draw_splitbar
	.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
	movl	%esi, %r15d
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_GetDC
	movl	%eax, %r12d
	movq	_SizingPattern@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movaps	L___const.draw_splitbar.Pattern(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %r8
	movl	$8, %edi
	movl	$8, %esi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_CreateBitmap
	movq	%rax, (%rbx)
LBB0_2:
	movq	_SizingBrush@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	jne	LBB0_4
## %bb.3:
	movq	%rax, %rdi
	callq	_CreatePatternBrush
	movq	%rax, (%rbx)
LBB0_4:
	leaq	-64(%rbp), %rsi
	movl	%r14d, %edi
	callq	_GetClientRect
	movq	_SPLIT_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%r15d, %eax
	subl	%ecx, %eax
	movl	%eax, -64(%rbp)
	leal	(%r15,%rcx), %eax
	incl	%eax
	movl	%eax, -60(%rbp)
	movq	(%rbx), %rsi
	movl	%r12d, %edi
	callq	_SelectObject
	movq	%rax, %rbx
	movq	-56(%rbp), %rdx
	movl	-64(%rbp), %esi
	movl	-60(%rbp), %ecx
	subl	%esi, %ecx
	movq	-48(%rbp), %r8
	subq	%rdx, %r8
	movq	_PATINVERT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r12d, %edi
	callq	_PatBlt
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_SelectObject
	movl	%r14d, %edi
	movl	%r12d, %esi
	callq	_ReleaseDC
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SizingPattern,8,3              ## @SizingPattern
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.draw_splitbar.Pattern
L___const.draw_splitbar.Pattern:
	.long	1431677610                      ## 0x5555aaaa
	.long	1431677610                      ## 0x5555aaaa
	.long	1431677610                      ## 0x5555aaaa
	.long	1431677610                      ## 0x5555aaaa

	.comm	_SizingBrush,8,3                ## @SizingBrush
	.comm	_SPLIT_WIDTH,4,2                ## @SPLIT_WIDTH
	.comm	_PATINVERT,4,2                  ## @PATINVERT
	.no_dead_strip	_draw_splitbar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_splitbar
_draw_splitbar:                         ; @draw_splitbar
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_GetDC
	mov	x20, x0
Lloh3:
	adrp	x22, _SizingPattern@GOTPAGE
Lloh4:
	ldr	x22, [x22, _SizingPattern@GOTPAGEOFF]
	ldr	x0, [x22]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, l___const.draw_splitbar.Pattern@PAGE
Lloh6:
	add	x8, x8, l___const.draw_splitbar.Pattern@PAGEOFF
Lloh7:
	ldr	q0, [x8]
	str	q0, [sp]
	mov	x4, sp
	mov	w0, #8
	mov	w1, #8
	mov	w2, #1
	mov	w3, #1
	bl	_CreateBitmap
	str	x0, [x22]
LBB0_2:
Lloh8:
	adrp	x22, _SizingBrush@GOTPAGE
Lloh9:
	ldr	x22, [x22, _SizingBrush@GOTPAGEOFF]
	ldr	x8, [x22]
	cbnz	x8, LBB0_4
; %bb.3:
	bl	_CreatePatternBrush
	str	x0, [x22]
LBB0_4:
	mov	x1, sp
	mov	x0, x19
	bl	_GetClientRect
Lloh10:
	adrp	x8, _SPLIT_WIDTH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SPLIT_WIDTH@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	sub	w9, w21, w8
	add	w8, w21, w8
	add	w8, w8, #1
	stp	w9, w8, [sp]
	ldr	x1, [x22]
	mov	x0, x20
	bl	_SelectObject
	mov	x21, x0
	ldp	w1, w8, [sp]
	sub	w3, w8, w1
	ldp	x2, x8, [sp, #8]
	sub	x4, x8, x2
Lloh13:
	adrp	x8, _PATINVERT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PATINVERT@GOTPAGEOFF]
Lloh15:
	ldr	w5, [x8]
	mov	x0, x20
	bl	_PatBlt
	mov	x0, x20
	mov	x1, x21
	bl	_SelectObject
	mov	x0, x19
	mov	x1, x20
	bl	_ReleaseDC
	ldr	x8, [sp, #24]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	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
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAddLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SizingPattern,8,3              ; @SizingPattern
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.draw_splitbar.Pattern
l___const.draw_splitbar.Pattern:
	.long	1431677610                      ; 0x5555aaaa
	.long	1431677610                      ; 0x5555aaaa
	.long	1431677610                      ; 0x5555aaaa
	.long	1431677610                      ; 0x5555aaaa

	.comm	_SizingBrush,8,3                ; @SizingBrush
	.comm	_SPLIT_WIDTH,4,2                ; @SPLIT_WIDTH
	.comm	_PATINVERT,4,2                  ; @PATINVERT
	.no_dead_strip	_draw_splitbar
.subsections_via_symbols
