	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLBAR_TranslateState
_TOOLBAR_TranslateState:                ## @TOOLBAR_TranslateState
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movq	_TBSTATE_CHECKED@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	andl	%ecx, %r9d
	je	LBB0_2
## %bb.1:
	movq	_CDIS_CHECKED@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
LBB0_2:
	movq	_TBSTATE_PRESSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	je	LBB0_4
## %bb.3:
	movq	_CDIS_SELECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	_TBSTATE_ENABLED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r10d
	xorl	%r8d, %r8d
	movl	$0, %esi
	testl	%ecx, %r10d
	jne	LBB0_6
## %bb.5:
	movq	_CDIS_DISABLED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
LBB0_6:
	movq	_TBSTATE_MARKED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	je	LBB0_8
## %bb.7:
	movq	_CDIS_MARKED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_8:
	orl	%edx, %esi
	orl	%r9d, %eax
	cmpq	$0, 8(%rdi)
	movl	$0, %edi
	je	LBB0_10
## %bb.9:
	movq	_CDIS_HOT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
LBB0_10:
	orl	%esi, %eax
	movq	_TBSTATE_INDETERMINATE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %r10d
	notl	%ecx
	testl	%ecx, %r10d
	jne	LBB0_12
## %bb.11:
	movq	_CDIS_INDETERMINATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
LBB0_12:
	orl	%r8d, %edi
	orl	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TBSTATE_CHECKED,4,2            ## @TBSTATE_CHECKED
	.comm	_CDIS_CHECKED,4,2               ## @CDIS_CHECKED
	.comm	_TBSTATE_PRESSED,4,2            ## @TBSTATE_PRESSED
	.comm	_CDIS_SELECTED,4,2              ## @CDIS_SELECTED
	.comm	_TBSTATE_ENABLED,4,2            ## @TBSTATE_ENABLED
	.comm	_CDIS_DISABLED,4,2              ## @CDIS_DISABLED
	.comm	_TBSTATE_MARKED,4,2             ## @TBSTATE_MARKED
	.comm	_CDIS_MARKED,4,2                ## @CDIS_MARKED
	.comm	_CDIS_HOT,4,2                   ## @CDIS_HOT
	.comm	_TBSTATE_INDETERMINATE,4,2      ## @TBSTATE_INDETERMINATE
	.comm	_CDIS_INDETERMINATE,4,2         ## @CDIS_INDETERMINATE
	.no_dead_strip	_TOOLBAR_TranslateState
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLBAR_TranslateState
_TOOLBAR_TranslateState:                ; @TOOLBAR_TranslateState
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _TBSTATE_CHECKED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TBSTATE_CHECKED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _CDIS_CHECKED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CDIS_CHECKED@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w9, wzr, w10, eq
Lloh6:
	adrp	x10, _TBSTATE_PRESSED@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TBSTATE_PRESSED@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _CDIS_SELECTED@GOTPAGE
Lloh10:
	ldr	x11, [x11, _CDIS_SELECTED@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w10, wzr, w11, eq
	orr	w9, w10, w9
Lloh12:
	adrp	x10, _TBSTATE_ENABLED@GOTPAGE
Lloh13:
	ldr	x10, [x10, _TBSTATE_ENABLED@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
Lloh15:
	adrp	x11, _CDIS_DISABLED@GOTPAGE
Lloh16:
	ldr	x11, [x11, _CDIS_DISABLED@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w11, w11, wzr, eq
	orr	w9, w9, w11
Lloh18:
	adrp	x11, _TBSTATE_MARKED@GOTPAGE
Lloh19:
	ldr	x11, [x11, _TBSTATE_MARKED@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
Lloh21:
	adrp	x12, _CDIS_MARKED@GOTPAGE
Lloh22:
	ldr	x12, [x12, _CDIS_MARKED@GOTPAGEOFF]
Lloh23:
	ldr	w12, [x12]
	tst	w11, w8
	csel	w11, wzr, w12, eq
	orr	w9, w9, w11
	ldr	x11, [x0, #8]
Lloh24:
	adrp	x12, _CDIS_HOT@GOTPAGE
Lloh25:
	ldr	x12, [x12, _CDIS_HOT@GOTPAGEOFF]
Lloh26:
	ldr	w12, [x12]
	cmp	x11, #0
	csel	w11, wzr, w12, eq
	orr	w9, w9, w11
Lloh27:
	adrp	x11, _TBSTATE_INDETERMINATE@GOTPAGE
Lloh28:
	ldr	x11, [x11, _TBSTATE_INDETERMINATE@GOTPAGEOFF]
Lloh29:
	ldr	w11, [x11]
Lloh30:
	adrp	x12, _CDIS_INDETERMINATE@GOTPAGE
Lloh31:
	ldr	x12, [x12, _CDIS_INDETERMINATE@GOTPAGEOFF]
	orr	w10, w11, w10
Lloh32:
	ldr	w11, [x12]
	bics	wzr, w10, w8
	csel	w8, w11, wzr, eq
	orr	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TBSTATE_CHECKED,4,2            ; @TBSTATE_CHECKED
	.comm	_CDIS_CHECKED,4,2               ; @CDIS_CHECKED
	.comm	_TBSTATE_PRESSED,4,2            ; @TBSTATE_PRESSED
	.comm	_CDIS_SELECTED,4,2              ; @CDIS_SELECTED
	.comm	_TBSTATE_ENABLED,4,2            ; @TBSTATE_ENABLED
	.comm	_CDIS_DISABLED,4,2              ; @CDIS_DISABLED
	.comm	_TBSTATE_MARKED,4,2             ; @TBSTATE_MARKED
	.comm	_CDIS_MARKED,4,2                ; @CDIS_MARKED
	.comm	_CDIS_HOT,4,2                   ; @CDIS_HOT
	.comm	_TBSTATE_INDETERMINATE,4,2      ; @TBSTATE_INDETERMINATE
	.comm	_CDIS_INDETERMINATE,4,2         ; @CDIS_INDETERMINATE
	.no_dead_strip	_TOOLBAR_TranslateState
.subsections_via_symbols
