	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cons_probe                     ## -- Begin function cons_probe
	.p2align	4, 0x90
_cons_probe:                            ## @cons_probe
	.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	_EV_VOLATILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_twiddle_set@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_env_nounset@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rdx
	callq	_env_setenv
	movq	_consoles@GOTPCREL(%rip), %r15
	movq	(%r15), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movl	$8, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rdi)
	callq	*32(%rdi)
	movq	(%r15), %r14
	movq	(%r14,%rbx), %rdi
	addq	$8, %rbx
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.3:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.4:
	xorl	%ebx, %ebx
	movq	_C_PRESENTIN@GOTPCREL(%rip), %r12
	movq	_C_PRESENTOUT@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rdi)
	callq	*32(%rdi)
	movq	(%r15), %r14
	movq	(%r14,%rbx,8), %rax
	movq	8(%r14,%rbx,8), %rdi
	movl	(%r13), %ecx
	orl	(%r12), %ecx
	cmpl	%ecx, (%rax)
	movl	$-1, %eax
	cmovel	%ebx, %eax
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpl	$-1, %eax
	je	LBB0_5
LBB0_7:
	xorl	%ecx, %ecx
	cmpl	$-1, %eax
	cmovnel	%eax, %ecx
	movslq	%ecx, %r13
	jmp	LBB0_10
LBB0_9:
	xorl	%r13d, %r13d
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	%rax, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %rdi
	callq	_unsetenv
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_cons_change
	jmp	LBB0_14
LBB0_13:
	movq	_C_ACTIVEIN@GOTPCREL(%rip), %rax
	movq	_C_ACTIVEOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	(%r14,%r13,8), %rax
	orl	%ecx, (%rax)
	xorl	%edi, %edi
	callq	*24(%rax)
	movq	(%r15), %rax
	movq	(%rax,%r13,8), %rax
	movq	8(%rax), %rdi
	callq	_strdup
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_14:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	(%r15), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.15:
	movl	$8, %ebx
	movq	_C_ACTIVEIN@GOTPCREL(%rip), %r12
	movq	_C_ACTIVEOUT@GOTPCREL(%rip), %r14
	leaq	L_.str.4(%rip), %r13
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	(%rax,%rbx), %rcx
	addq	$8, %rbx
	testq	%rcx, %rcx
	je	LBB0_19
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edx
	orl	(%r12), %edx
	testl	%edx, (%rcx)
	je	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	16(%rcx), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	(%r15), %rax
	jmp	LBB0_16
LBB0_19:
	movl	$10, %edi
	callq	_putchar
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.20:
	movq	_EV_VOLATILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_cons_set@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_env_nounset@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rdx
	callq	_env_setenv
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"twiddle_divisor"

	.comm	_EV_VOLATILE,4,2                ## @EV_VOLATILE
L_.str.1:                               ## @.str.1
	.asciz	"1"

	.comm	_twiddle_set,4,2                ## @twiddle_set
	.comm	_env_nounset,4,2                ## @env_nounset
	.comm	_consoles,8,3                   ## @consoles
	.comm	_C_PRESENTIN,4,2                ## @C_PRESENTIN
	.comm	_C_PRESENTOUT,4,2               ## @C_PRESENTOUT
L_.str.2:                               ## @.str.2
	.asciz	"console"

	.comm	_C_ACTIVEIN,4,2                 ## @C_ACTIVEIN
	.comm	_C_ACTIVEOUT,4,2                ## @C_ACTIVEOUT
L_.str.3:                               ## @.str.3
	.asciz	"Consoles: "

L_.str.4:                               ## @.str.4
	.asciz	"%s  "

	.comm	_cons_set,4,2                   ## @cons_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cons_probe                     ; -- Begin function cons_probe
	.p2align	2
_cons_probe:                            ; @cons_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x21, _EV_VOLATILE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _EV_VOLATILE@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _twiddle_set@GOTPAGE
Lloh3:
	ldr	x8, [x8, _twiddle_set@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
Lloh5:
	adrp	x22, _env_nounset@GOTPAGE
Lloh6:
	ldr	x22, [x22, _env_nounset@GOTPAGEOFF]
	ldr	w4, [x22]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_env_setenv
Lloh11:
	adrp	x23, _consoles@GOTPAGE
Lloh12:
	ldr	x23, [x23, _consoles@GOTPAGEOFF]
	ldr	x20, [x23]
	ldr	x0, [x20]
	cbz	x0, LBB0_7
; %bb.1:
	mov	w19, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [x0]
	ldr	x8, [x0, #32]
	blr	x8
	ldr	x20, [x23]
	ldr	x0, [x20, x19]
	add	x19, x19, #8
	cbnz	x0, LBB0_2
; %bb.3:
	ldr	x0, [x20]
	cbz	x0, LBB0_7
; %bb.4:
	mov	x19, #0
Lloh13:
	adrp	x24, _C_PRESENTIN@GOTPAGE
Lloh14:
	ldr	x24, [x24, _C_PRESENTIN@GOTPAGEOFF]
Lloh15:
	adrp	x25, _C_PRESENTOUT@GOTPAGE
Lloh16:
	ldr	x25, [x25, _C_PRESENTOUT@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [x0]
	ldr	x8, [x0, #32]
	blr	x8
	ldr	x20, [x23]
	add	x8, x20, x19, lsl #3
	ldp	x9, x0, [x8]
	ldr	w8, [x9]
	ldr	w9, [x24]
	ldr	w10, [x25]
	orr	w9, w10, w9
	cmp	w8, w9
	csinv	w8, w19, wzr, eq
	add	x19, x19, #1
	cmp	x0, #0
	ccmn	w8, #1, #0, ne
	b.eq	LBB0_5
; %bb.6:
	cmn	w8, #1
	csel	w8, wzr, w8, eq
	sxtw	x26, w8
	b	LBB0_8
LBB0_7:
	mov	x26, #0
LBB0_8:
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_getenv
Lloh19:
	adrp	x24, _C_ACTIVEIN@GOTPAGE
Lloh20:
	ldr	x24, [x24, _C_ACTIVEIN@GOTPAGEOFF]
Lloh21:
	adrp	x25, _C_ACTIVEOUT@GOTPAGE
Lloh22:
	ldr	x25, [x25, _C_ACTIVEOUT@GOTPAGEOFF]
	cbz	x0, LBB0_11
; %bb.9:
	bl	_strdup
	cbz	x0, LBB0_11
; %bb.10:
	mov	x19, x0
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_unsetenv
	mov	x0, x19
	bl	_cons_change
	b	LBB0_12
LBB0_11:
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w8, w9, w8
	lsl	x19, x26, #3
	ldr	x9, [x20, x19]
	ldr	w10, [x9]
	orr	w8, w8, w10
	str	w8, [x9]
	ldr	x8, [x9, #24]
	mov	w0, #0
	blr	x8
	ldr	x8, [x23]
	ldr	x8, [x8, x19]
	ldr	x0, [x8, #8]
	bl	_strdup
	mov	x19, x0
LBB0_12:
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	x8, [x23]
	ldr	x9, [x8]
	cbz	x9, LBB0_17
; %bb.13:
	mov	w26, #8
Lloh27:
	adrp	x20, l_.str.4@PAGE
Lloh28:
	add	x20, x20, l_.str.4@PAGEOFF
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x9, [x8, x26]
	add	x26, x26, #8
	cbz	x9, LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	ldr	w11, [x24]
	ldr	w12, [x25]
	orr	w11, w12, w11
	tst	w11, w10
	b.eq	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x9, #16]
	str	x8, [sp]
	mov	x0, x20
	bl	_printf
	ldr	x8, [x23]
	b	LBB0_14
LBB0_17:
	mov	w0, #10
	bl	_putchar
	cbz	x19, LBB0_19
; %bb.18:
	ldr	w1, [x21]
Lloh29:
	adrp	x8, _cons_set@GOTPAGE
Lloh30:
	ldr	x8, [x8, _cons_set@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
	ldr	w4, [x22]
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_env_setenv
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_free
LBB0_19:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"twiddle_divisor"

	.comm	_EV_VOLATILE,4,2                ; @EV_VOLATILE
l_.str.1:                               ; @.str.1
	.asciz	"1"

	.comm	_twiddle_set,4,2                ; @twiddle_set
	.comm	_env_nounset,4,2                ; @env_nounset
	.comm	_consoles,8,3                   ; @consoles
	.comm	_C_PRESENTIN,4,2                ; @C_PRESENTIN
	.comm	_C_PRESENTOUT,4,2               ; @C_PRESENTOUT
l_.str.2:                               ; @.str.2
	.asciz	"console"

	.comm	_C_ACTIVEIN,4,2                 ; @C_ACTIVEIN
	.comm	_C_ACTIVEOUT,4,2                ; @C_ACTIVEOUT
l_.str.3:                               ; @.str.3
	.asciz	"Consoles: "

l_.str.4:                               ; @.str.4
	.asciz	"%s  "

	.comm	_cons_set,4,2                   ; @cons_set
.subsections_via_symbols
