	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function twiddle_set
_twiddle_set:                           ## @twiddle_set
	.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
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r15
	leaq	-32(%rbp), %rsi
	movq	%rdx, %rdi
	xorl	%edx, %edx
	callq	_strtoul
	cmpb	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	-32(%rbp), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printf
	movq	_CMD_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movl	%eax, %edi
	callq	_twiddle_divisor
	movl	(%r15), %edi
	movq	_EV_NOHOOK@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	%r14d, %esi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_env_setenv
	movq	_CMD_OK@GOTPCREL(%rip), %rax
LBB0_4:
	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	"invalid twiddle_divisor '%s'\n"

	.comm	_CMD_ERROR,4,2                  ## @CMD_ERROR
	.comm	_EV_NOHOOK,4,2                  ## @EV_NOHOOK
	.comm	_CMD_OK,4,2                     ## @CMD_OK
	.no_dead_strip	_twiddle_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function twiddle_set
_twiddle_set:                           ; @twiddle_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x1, sp, #8
	mov	x0, x2
	mov	w2, #0
	bl	_strtoul
	ldrb	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_3
LBB0_2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_printf
Lloh2:
	adrp	x8, _CMD_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CMD_ERROR@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_twiddle_divisor
	ldr	w0, [x21]
Lloh4:
	adrp	x8, _EV_NOHOOK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EV_NOHOOK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w1, w8, w20
	mov	x2, x19
	mov	x3, #0
	mov	x4, #0
	bl	_env_setenv
Lloh7:
	adrp	x8, _CMD_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CMD_OK@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid twiddle_divisor '%s'\n"

	.comm	_CMD_ERROR,4,2                  ; @CMD_ERROR
	.comm	_EV_NOHOOK,4,2                  ; @EV_NOHOOK
	.comm	_CMD_OK,4,2                     ; @CMD_OK
	.no_dead_strip	_twiddle_set
.subsections_via_symbols
