	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLBAR_DrawFrame
_TOOLBAR_DrawFrame:                     ## @TOOLBAR_DrawFrame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdi, %r9
	movl	4(%rsi), %edi
	movl	(%rdx), %edx
	movl	%edx, -4(%rbp)
	movl	(%rsi), %edx
	movq	_CDIS_DISABLED@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movq	_CDIS_INDETERMINATE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	testl	%edx, %esi
	setne	%r8b
	je	LBB0_2
## %bb.1:
	xorl	%esi, %esi
	jmp	LBB0_4
LBB0_2:
	movq	_CDIS_SELECTED@GOTPCREL(%rip), %rax
	movb	$1, %sil
	testl	%edx, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_CDIS_CHECKED@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	setne	%sil
LBB0_4:
	movq	_TBCDRF_NOEDGES@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_16
## %bb.5:
	movq	_TBSTYLE_FLAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r9)
	je	LBB0_11
## %bb.6:
	testb	%sil, %sil
	je	LBB0_9
## %bb.7:
	movq	_BDR_SUNKENOUTER@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_11:
	testb	%sil, %sil
	je	LBB0_13
## %bb.12:
	movq	_EDGE_SUNKEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_BF_RECT@GOTPCREL(%rip), %rax
	movq	_BF_MIDDLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_14
LBB0_9:
	movq	_CDIS_HOT@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	sete	%al
	orb	%r8b, %al
	jne	LBB0_16
## %bb.10:
	movq	_BDR_RAISEDINNER@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %edx
	movq	_BF_RECT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_15
LBB0_13:
	movq	_EDGE_RAISED@GOTPCREL(%rip), %rax
	movq	_BF_SOFT@GOTPCREL(%rip), %rdx
	movq	_BF_RECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movl	(%rax), %edx
	movq	_BF_MIDDLE@GOTPCREL(%rip), %rax
LBB0_14:
	orl	(%rax), %ecx
LBB0_15:
	leaq	-4(%rbp), %rsi
	callq	_DrawEdge
LBB0_16:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CDIS_DISABLED,4,2              ## @CDIS_DISABLED
	.comm	_CDIS_INDETERMINATE,4,2         ## @CDIS_INDETERMINATE
	.comm	_CDIS_SELECTED,4,2              ## @CDIS_SELECTED
	.comm	_CDIS_CHECKED,4,2               ## @CDIS_CHECKED
	.comm	_TBCDRF_NOEDGES,4,2             ## @TBCDRF_NOEDGES
	.comm	_TBSTYLE_FLAT,4,2               ## @TBSTYLE_FLAT
	.comm	_BDR_SUNKENOUTER,4,2            ## @BDR_SUNKENOUTER
	.comm	_BF_RECT,4,2                    ## @BF_RECT
	.comm	_CDIS_HOT,4,2                   ## @CDIS_HOT
	.comm	_BDR_RAISEDINNER,4,2            ## @BDR_RAISEDINNER
	.comm	_EDGE_SUNKEN,4,2                ## @EDGE_SUNKEN
	.comm	_BF_MIDDLE,4,2                  ## @BF_MIDDLE
	.comm	_EDGE_RAISED,4,2                ## @EDGE_RAISED
	.comm	_BF_SOFT,4,2                    ## @BF_SOFT
	.no_dead_strip	_TOOLBAR_DrawFrame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLBAR_DrawFrame
_TOOLBAR_DrawFrame:                     ; @TOOLBAR_DrawFrame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	ldr	w9, [x2]
	stur	w9, [x29, #-4]
	ldp	w9, w0, [x1]
Lloh0:
	adrp	x10, _CDIS_DISABLED@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CDIS_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _CDIS_INDETERMINATE@GOTPAGE
Lloh4:
	ldr	x11, [x11, _CDIS_INDETERMINATE@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	orr	w10, w10, w11
	ands	w11, w10, w9
	cset	w10, ne
	cbz	w11, LBB0_2
; %bb.1:
	mov	w11, #0
	b	LBB0_5
LBB0_2:
Lloh6:
	adrp	x11, _CDIS_SELECTED@GOTPAGE
Lloh7:
	ldr	x11, [x11, _CDIS_SELECTED@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	tst	w11, w9
	b.eq	LBB0_4
; %bb.3:
	mov	w11, #1
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x11, _CDIS_CHECKED@GOTPAGE
Lloh10:
	ldr	x11, [x11, _CDIS_CHECKED@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	tst	w11, w9
	cset	w11, ne
LBB0_5:
Lloh12:
	adrp	x12, _TBCDRF_NOEDGES@GOTPAGE
Lloh13:
	ldr	x12, [x12, _TBCDRF_NOEDGES@GOTPAGEOFF]
Lloh14:
	ldr	w12, [x12]
	tst	w12, w3
	b.ne	LBB0_16
; %bb.6:
	ldr	w8, [x8]
Lloh15:
	adrp	x12, _TBSTYLE_FLAT@GOTPAGE
Lloh16:
	ldr	x12, [x12, _TBSTYLE_FLAT@GOTPAGEOFF]
Lloh17:
	ldr	w12, [x12]
	tst	w12, w8
	b.eq	LBB0_9
; %bb.7:
	cbz	w11, LBB0_11
; %bb.8:
Lloh18:
	adrp	x8, _BDR_SUNKENOUTER@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BDR_SUNKENOUTER@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
	cbz	w11, LBB0_14
; %bb.10:
Lloh20:
	adrp	x8, _EDGE_SUNKEN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EDGE_SUNKEN@GOTPAGEOFF]
Lloh22:
	adrp	x9, _BF_RECT@GOTPAGE
Lloh23:
	ldr	x9, [x9, _BF_RECT@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
Lloh25:
	ldr	w8, [x9]
Lloh26:
	adrp	x9, _BF_MIDDLE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _BF_MIDDLE@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w3, w9, w8
	b	LBB0_15
LBB0_11:
Lloh29:
	adrp	x8, _CDIS_HOT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CDIS_HOT@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w9
	cset	w8, eq
	orr	w8, w8, w10
	tbnz	w8, #0, LBB0_16
; %bb.12:
Lloh32:
	adrp	x8, _BDR_RAISEDINNER@GOTPAGE
Lloh33:
	ldr	x8, [x8, _BDR_RAISEDINNER@GOTPAGEOFF]
LBB0_13:
	ldr	w2, [x8]
Lloh34:
	adrp	x8, _BF_RECT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _BF_RECT@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
	b	LBB0_15
LBB0_14:
Lloh37:
	adrp	x8, _EDGE_RAISED@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EDGE_RAISED@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
Lloh40:
	adrp	x8, _BF_SOFT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _BF_SOFT@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
Lloh43:
	adrp	x9, _BF_RECT@GOTPAGE
Lloh44:
	ldr	x9, [x9, _BF_RECT@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh46:
	adrp	x9, _BF_MIDDLE@GOTPAGE
Lloh47:
	ldr	x9, [x9, _BF_MIDDLE@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	orr	w3, w8, w9
LBB0_15:
	sub	x1, x29, #4
	bl	_DrawEdge
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_CDIS_DISABLED,4,2              ; @CDIS_DISABLED
	.comm	_CDIS_INDETERMINATE,4,2         ; @CDIS_INDETERMINATE
	.comm	_CDIS_SELECTED,4,2              ; @CDIS_SELECTED
	.comm	_CDIS_CHECKED,4,2               ; @CDIS_CHECKED
	.comm	_TBCDRF_NOEDGES,4,2             ; @TBCDRF_NOEDGES
	.comm	_TBSTYLE_FLAT,4,2               ; @TBSTYLE_FLAT
	.comm	_BDR_SUNKENOUTER,4,2            ; @BDR_SUNKENOUTER
	.comm	_BF_RECT,4,2                    ; @BF_RECT
	.comm	_CDIS_HOT,4,2                   ; @CDIS_HOT
	.comm	_BDR_RAISEDINNER,4,2            ; @BDR_RAISEDINNER
	.comm	_EDGE_SUNKEN,4,2                ; @EDGE_SUNKEN
	.comm	_BF_MIDDLE,4,2                  ; @BF_MIDDLE
	.comm	_EDGE_RAISED,4,2                ; @EDGE_RAISED
	.comm	_BF_SOFT,4,2                    ; @BF_SOFT
	.no_dead_strip	_TOOLBAR_DrawFrame
.subsections_via_symbols
