	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ListViewSelectionChanged       ## -- Begin function ListViewSelectionChanged
	.p2align	4, 0x90
_ListViewSelectionChanged:              ## @ListViewSelectionChanged
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	28(%rdi), %edi
	callq	_GetMenu
	movl	%eax, %r15d
	movq	_ID_PROP@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_MF_BYCOMMAND@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	%eax, %edi
	callq	_GetMenuState
	movq	_MF_ENABLED@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	cmpq	%rdx, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r12), %esi
	movl	%r15d, %edi
	callq	_EnableMenuItem
	movl	24(%rbx), %edi
	xorl	%esi, %esi
	callq	_GetSubMenu
	movl	(%r12), %esi
	movq	(%r13), %rdx
	movl	%eax, %edi
	callq	_EnableMenuItem
	movl	24(%rbx), %edi
	xorl	%esi, %esi
	callq	_GetSubMenu
	movl	(%r12), %esi
	movl	(%r14), %edx
	movl	%eax, %edi
	callq	_SetMenuDefaultItem
LBB0_2:
	movq	_ID_DELETE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%r14), %edx
	movl	%r15d, %edi
	callq	_GetMenuState
	movq	(%r13), %rdx
	cmpq	%rdx, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r12), %esi
	movl	%r15d, %edi
	callq	_EnableMenuItem
	movl	24(%rbx), %edi
	xorl	%esi, %esi
	callq	_GetSubMenu
	movl	(%r12), %esi
	movq	(%r13), %rdx
	movl	%eax, %edi
	callq	_EnableMenuItem
LBB0_4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	%rbx, %rdi
	callq	_GetSelectedService
	movq	%rax, 8(%rbx)
	movl	16(%rbx), %edi
	movq	_SB_SETTEXT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %ecx
	movl	$1, %edx
	callq	_SendMessage
	movl	(%rbx), %r14d
	movq	_TB_SETSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ID_PROP@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_TBSTATE_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_MAKELONG
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SendMessage                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ID_PROP,4,2                    ## @ID_PROP
	.comm	_MF_BYCOMMAND,4,2               ## @MF_BYCOMMAND
	.comm	_MF_ENABLED,8,3                 ## @MF_ENABLED
	.comm	_ID_DELETE,4,2                  ## @ID_DELETE
	.comm	_SB_SETTEXT,4,2                 ## @SB_SETTEXT
	.comm	_TB_SETSTATE,4,2                ## @TB_SETSTATE
	.comm	_TBSTATE_ENABLED,4,2            ## @TBSTATE_ENABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ListViewSelectionChanged       ; -- Begin function ListViewSelectionChanged
	.p2align	2
_ListViewSelectionChanged:              ; @ListViewSelectionChanged
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #28]
	bl	_GetMenu
	mov	x21, x0
Lloh0:
	adrp	x22, _ID_PROP@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ID_PROP@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x24, _MF_BYCOMMAND@GOTPAGE
Lloh3:
	ldr	x24, [x24, _MF_BYCOMMAND@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_GetMenuState
Lloh4:
	adrp	x23, _MF_ENABLED@GOTPAGE
Lloh5:
	ldr	x23, [x23, _MF_ENABLED@GOTPAGEOFF]
	ldr	x2, [x23]
	cmp	x0, x2
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x22]
	mov	x0, x21
	bl	_EnableMenuItem
	ldr	w0, [x19, #24]
	mov	w1, #0
	bl	_GetSubMenu
	ldr	w1, [x22]
	ldr	x2, [x23]
	bl	_EnableMenuItem
	ldr	w0, [x19, #24]
	mov	w1, #0
	bl	_GetSubMenu
	ldr	w1, [x22]
	ldr	w2, [x24]
	bl	_SetMenuDefaultItem
LBB0_2:
Lloh6:
	adrp	x25, _ID_DELETE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _ID_DELETE@GOTPAGEOFF]
	ldr	w1, [x25]
	ldr	w2, [x24]
	mov	x0, x21
	bl	_GetMenuState
	ldr	x2, [x23]
	cmp	x0, x2
	b.eq	LBB0_4
; %bb.3:
	ldr	w1, [x25]
	mov	x0, x21
	bl	_EnableMenuItem
	ldr	w0, [x19, #24]
	mov	w1, #0
	bl	_GetSubMenu
	ldr	w1, [x25]
	ldr	x2, [x23]
	bl	_EnableMenuItem
LBB0_4:
	ldr	w8, [x20]
	str	w8, [x19, #20]
	mov	x0, x19
	bl	_GetSelectedService
	str	x0, [x19, #8]
	ldr	w8, [x19, #16]
Lloh8:
	adrp	x9, _SB_SETTEXT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SB_SETTEXT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
	ldr	w3, [x0]
	mov	x0, x8
	mov	w2, #1
	bl	_SendMessage
Lloh11:
	adrp	x8, _TB_SETSTATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TB_SETSTATE@GOTPAGEOFF]
	ldr	w19, [x19]
Lloh13:
	ldr	w20, [x8]
	ldr	w21, [x22]
Lloh14:
	adrp	x8, _TBSTATE_ENABLED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TBSTATE_ENABLED@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_MAKELONG
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
                                        ; kill: def $w3 killed $w3 killed $x3
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_SendMessage
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ID_PROP,4,2                    ; @ID_PROP
	.comm	_MF_BYCOMMAND,4,2               ; @MF_BYCOMMAND
	.comm	_MF_ENABLED,8,3                 ; @MF_ENABLED
	.comm	_ID_DELETE,4,2                  ; @ID_DELETE
	.comm	_SB_SETTEXT,4,2                 ; @SB_SETTEXT
	.comm	_TB_SETSTATE,4,2                ; @TB_SETSTATE
	.comm	_TBSTATE_ENABLED,4,2            ; @TBSTATE_ENABLED
.subsections_via_symbols
