	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function toggle_child
_toggle_child:                          ## @toggle_child
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r15d
	movl	%edi, %r14d
	movl	%edx, %edi
	callq	_IsWindowVisible
	movq	%rax, %rbx
	movq	_hMenuFrame@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ID_VIEW_MENU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetSubMenu
	xorl	%edx, %edx
	testq	%rbx, %rbx
	movq	_MF_CHECKED@GOTPCREL(%rip), %rcx
	cmovel	(%rcx), %edx
	movq	_SW_HIDE@GOTPCREL(%rip), %rbx
	cmoveq	_SW_SHOW@GOTPCREL(%rip), %rbx
	movq	_MF_BYCOMMAND@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_CheckMenuItem
	movl	(%rbx), %esi
	movl	%r12d, %edi
	callq	_ShowWindow
	movl	%r14d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_resize_frame_client            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_hMenuFrame,4,2                 ## @hMenuFrame
	.comm	_ID_VIEW_MENU,4,2               ## @ID_VIEW_MENU
	.comm	_MF_BYCOMMAND,4,2               ## @MF_BYCOMMAND
	.comm	_MF_CHECKED,4,2                 ## @MF_CHECKED
	.comm	_SW_HIDE,4,2                    ## @SW_HIDE
	.comm	_SW_SHOW,4,2                    ## @SW_SHOW
	.no_dead_strip	_toggle_child
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function toggle_child
_toggle_child:                          ; @toggle_child
	.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, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	bl	_IsWindowVisible
	mov	x22, x0
Lloh0:
	adrp	x8, _hMenuFrame@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hMenuFrame@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ID_VIEW_MENU@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ID_VIEW_MENU@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetSubMenu
Lloh6:
	adrp	x8, _MF_BYCOMMAND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MF_BYCOMMAND@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _MF_CHECKED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MF_CHECKED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	x22, #0
	csel	w9, w9, wzr, eq
	orr	w2, w9, w8
Lloh12:
	adrp	x8, _SW_HIDE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SW_HIDE@GOTPAGEOFF]
Lloh14:
	adrp	x9, _SW_SHOW@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SW_SHOW@GOTPAGEOFF]
	csel	x22, x9, x8, eq
	mov	x1, x20
	bl	_CheckMenuItem
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ShowWindow
	mov	x0, x21
	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	_resize_frame_client
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.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	_hMenuFrame,4,2                 ; @hMenuFrame
	.comm	_ID_VIEW_MENU,4,2               ; @ID_VIEW_MENU
	.comm	_MF_BYCOMMAND,4,2               ; @MF_BYCOMMAND
	.comm	_MF_CHECKED,4,2                 ; @MF_CHECKED
	.comm	_SW_HIDE,4,2                    ; @SW_HIDE
	.comm	_SW_SHOW,4,2                    ; @SW_SHOW
	.no_dead_strip	_toggle_child
.subsections_via_symbols
