	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function OnTabWndSelChange
_OnTabWndSelChange:                     ## @OnTabWndSelChange
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_TabCtrl_GetCurSel
	cmpl	$1, %eax
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	leaq	4(%rbx), %r14
	movl	4(%rbx), %edi
	movq	_SW_SHOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ShowWindow
	movq	_SW_HIDE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movl	4(%rbx), %edi
	movq	_SW_HIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ShowWindow
	movq	_SW_SHOW@GOTPCREL(%rip), %rax
	movq	%rbx, %r14
LBB0_4:
	movl	(%rbx), %edi
	movl	(%rax), %esi
	callq	_ShowWindow
	movl	(%r14), %edi
	callq	_BringWindowToTop
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SW_SHOW,4,2                    ## @SW_SHOW
	.comm	_SW_HIDE,4,2                    ## @SW_HIDE
	.no_dead_strip	_OnTabWndSelChange
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function OnTabWndSelChange
_OnTabWndSelChange:                     ; @OnTabWndSelChange
	.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
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_TabCtrl_GetCurSel
	cmp	w0, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w0, LBB0_5
; %bb.2:
	mov	x20, x19
	ldr	w0, [x20, #4]!
Lloh0:
	adrp	x8, _SW_SHOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SW_SHOW@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ShowWindow
Lloh3:
	adrp	x8, _SW_HIDE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SW_HIDE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	ldr	w0, [x19, #4]
Lloh5:
	adrp	x8, _SW_HIDE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SW_HIDE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_ShowWindow
Lloh8:
	adrp	x8, _SW_SHOW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SW_SHOW@GOTPAGEOFF]
	mov	x20, x19
LBB0_4:
	ldr	w0, [x19]
	ldr	w1, [x8]
	bl	_ShowWindow
	ldr	w0, [x20]
	bl	_BringWindowToTop
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SW_SHOW,4,2                    ; @SW_SHOW
	.comm	_SW_HIDE,4,2                    ; @SW_HIDE
	.no_dead_strip	_OnTabWndSelChange
.subsections_via_symbols
