	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ican3_set_termination
_ican3_set_termination:                 ## @ican3_set_termination
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	leaq	-40(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_MSG_HWCONF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	$2, %edi
	callq	_cpu_to_le16
	movl	%eax, -32(%rbp)
	movq	-40(%rbp), %rax
	movl	$0, (%rax)
	testl	%ebx, %ebx
	jne	LBB0_1
## %bb.2:
	movq	_HWCONF_TERMINATE_OFF@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_HWCONF_TERMINATE_ON@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ican3_send_msg
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_HWCONF,4,2                 ## @MSG_HWCONF
	.comm	_HWCONF_TERMINATE_ON,4,2        ## @HWCONF_TERMINATE_ON
	.comm	_HWCONF_TERMINATE_OFF,4,2       ## @HWCONF_TERMINATE_OFF
	.no_dead_strip	_ican3_set_termination
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ican3_set_termination
_ican3_set_termination:                 ; @ican3_set_termination
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _MSG_HWCONF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_HWCONF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	mov	w0, #2
	bl	_cpu_to_le16
	str	w0, [sp, #8]
	ldr	x8, [sp]
	str	wzr, [x8]
Lloh3:
	adrp	x9, _HWCONF_TERMINATE_ON@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HWCONF_TERMINATE_ON@GOTPAGEOFF]
Lloh5:
	adrp	x10, _HWCONF_TERMINATE_OFF@GOTPAGE
Lloh6:
	ldr	x10, [x10, _HWCONF_TERMINATE_OFF@GOTPAGEOFF]
	cmp	w19, #0
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	str	w9, [x8, #4]
	mov	x1, sp
	mov	x0, x20
	bl	_ican3_send_msg
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_HWCONF,4,2                 ; @MSG_HWCONF
	.comm	_HWCONF_TERMINATE_ON,4,2        ; @HWCONF_TERMINATE_ON
	.comm	_HWCONF_TERMINATE_OFF,4,2       ; @HWCONF_TERMINATE_OFF
	.no_dead_strip	_ican3_set_termination
.subsections_via_symbols
