	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TranslateChildTabMessage       ## -- Begin function TranslateChildTabMessage
	.p2align	4, 0x90
_TranslateChildTabMessage:              ## @TranslateChildTabMessage
	.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	(%rdi), %rax
	movq	_WM_KEYDOWN@GOTPCREL(%rip), %rcx
	movq	_FALSE@GOTPCREL(%rip), %r14
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	_g_pChildWnd@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	cmpl	$65, 16(%rbx)
	jne	LBB0_5
## %bb.3:
	movq	_VK_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetKeyState
	testq	%rax, %rax
	js	LBB0_4
LBB0_5:
	movl	16(%rbx), %eax
	movq	_VK_TAB@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.6:
	movq	8(%rbx), %rdi
	callq	_GetParent
	movq	(%r15), %rcx
	cmpq	8(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movq	_WM_COMMAND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ID_SWITCH_PANELS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_PostMessageW
	jmp	LBB0_8
LBB0_4:
	movq	8(%rbx), %rdi
	movq	_EM_SETSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	movl	$-1, %ecx
	callq	_SendMessageW
LBB0_8:
	movq	_TRUE@GOTPCREL(%rip), %r14
LBB0_9:
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM_KEYDOWN,8,3                 ## @WM_KEYDOWN
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_g_pChildWnd,8,3                ## @g_pChildWnd
	.comm	_VK_CONTROL,4,2                 ## @VK_CONTROL
	.comm	_EM_SETSEL,4,2                  ## @EM_SETSEL
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_VK_TAB,4,2                     ## @VK_TAB
	.comm	_WM_COMMAND,4,2                 ## @WM_COMMAND
	.comm	_ID_SWITCH_PANELS,4,2           ## @ID_SWITCH_PANELS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TranslateChildTabMessage       ; -- Begin function TranslateChildTabMessage
	.p2align	2
_TranslateChildTabMessage:              ; @TranslateChildTabMessage
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _WM_KEYDOWN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WM_KEYDOWN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x20, _g_pChildWnd@GOTPAGE
Lloh4:
	ldr	x20, [x20, _g_pChildWnd@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x19, #16]
	cmp	w8, #65
	b.ne	LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _VK_CONTROL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VK_CONTROL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_GetKeyState
	tbnz	x0, #63, LBB0_9
LBB0_4:
	ldr	w8, [x19, #16]
Lloh8:
	adrp	x9, _VK_TAB@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VK_TAB@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.5:
	ldr	x0, [x19, #8]
	bl	_GetParent
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:
Lloh11:
	adrp	x8, _WM_COMMAND@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WM_COMMAND@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _ID_SWITCH_PANELS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ID_SWITCH_PANELS@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_PostMessageW
	b	LBB0_10
LBB0_7:
Lloh17:
	adrp	x8, _FALSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x0, [x19, #8]
Lloh19:
	adrp	x8, _EM_SETSEL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EM_SETSEL@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #-1
	bl	_SendMessageW
LBB0_10:
Lloh22:
	adrp	x8, _TRUE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_WM_KEYDOWN,8,3                 ; @WM_KEYDOWN
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_g_pChildWnd,8,3                ; @g_pChildWnd
	.comm	_VK_CONTROL,4,2                 ; @VK_CONTROL
	.comm	_EM_SETSEL,4,2                  ; @EM_SETSEL
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_VK_TAB,4,2                     ; @VK_TAB
	.comm	_WM_COMMAND,4,2                 ; @WM_COMMAND
	.comm	_ID_SWITCH_PANELS,4,2           ; @ID_SWITCH_PANELS
.subsections_via_symbols
