	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function notifysink_on_bn_clicked
_notifysink_on_bn_clicked:              ## @notifysink_on_bn_clicked
	.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
	movl	%edx, %ebx
	movq	%rdi, %r14
	movl	%edx, %edi
	callq	_LOWORD
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_get_cctrl_from_dlgid
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_TRACE
	testq	%r15, %r15
	je	LBB0_4
## %bb.1:
	movq	(%r15), %rax
	movq	_IDLG_CCTRL_CHECKBUTTON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movl	12(%r15), %edi
	movq	_BM_GETCHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageW
	movq	_BST_CHECKED@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movl	8(%r15), %esi
	movq	%r14, %rdi
	callq	_cctrl_event_OnCheckButtonToggled
	jmp	LBB0_4
LBB0_3:
	movl	8(%r15), %esi
	movq	%r14, %rdi
	callq	_cctrl_event_OnButtonClicked
LBB0_4:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p, %lx\n"

	.comm	_IDLG_CCTRL_CHECKBUTTON,8,3     ## @IDLG_CCTRL_CHECKBUTTON
	.comm	_BM_GETCHECK,4,2                ## @BM_GETCHECK
	.comm	_BST_CHECKED,8,3                ## @BST_CHECKED
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_notifysink_on_bn_clicked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function notifysink_on_bn_clicked
_notifysink_on_bn_clicked:              ; @notifysink_on_bn_clicked
	.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	x21, x2
	mov	x19, x0
	mov	x0, x2
	bl	_LOWORD
	mov	x1, x0
	mov	x0, x19
	bl	_get_cctrl_from_dlgid
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x21
	bl	_TRACE
	cbz	x20, LBB0_4
; %bb.1:
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _IDLG_CCTRL_CHECKBUTTON@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IDLG_CCTRL_CHECKBUTTON@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x20, #12]
Lloh5:
	adrp	x8, _BM_GETCHECK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BM_GETCHECK@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w2, #0
	mov	w3, #0
	bl	_SendMessageW
Lloh8:
	adrp	x8, _BST_CHECKED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BST_CHECKED@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w2, eq
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_cctrl_event_OnCheckButtonToggled
	b	LBB0_4
LBB0_3:
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_cctrl_event_OnButtonClicked
LBB0_4:
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p, %lx\n"

	.comm	_IDLG_CCTRL_CHECKBUTTON,8,3     ; @IDLG_CCTRL_CHECKBUTTON
	.comm	_BM_GETCHECK,4,2                ; @BM_GETCHECK
	.comm	_BST_CHECKED,8,3                ; @BST_CHECKED
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_notifysink_on_bn_clicked
.subsections_via_symbols
