	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function writevalue
_writevalue:                            ## @writevalue
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	(%rdi), %rdx
	cmpl	$268435456, %esi                ## imm = 0x10000000
	jae	LBB0_1
## %bb.20:
	testl	$251658240, %esi                ## imm = 0xF000000
	je	LBB0_22
## %bb.21:
	movb	$55, %cl
	movb	$1, %r8b
	movl	$24, %r13d
	jmp	LBB0_2
LBB0_1:
	movb	$56, %cl
	movl	$28, %r13d
	xorl	%r8d, %r8d
LBB0_2:
	xorl	%r12d, %r12d
LBB0_3:
	xorl	%r15d, %r15d
LBB0_4:
	xorl	%r14d, %r14d
LBB0_5:
	xorl	%r10d, %r10d
LBB0_6:
	xorl	%r9d, %r9d
LBB0_7:
	movb	%cl, (%rdx)
	movq	_digs@GOTPCREL(%rip), %r11
	movq	(%r11), %rbx
	movl	%esi, %eax
	movl	%r13d, %ecx
	sarl	%cl, %eax
	andl	$15, %eax
	movb	(%rbx,%rax,4), %al
	movb	%al, 1(%rdx)
	movq	(%r11), %rax
	leal	-4(%r13), %ecx
	movl	%esi, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %ebx
	andl	$15, %ebx
	movb	(%rax,%rbx,4), %al
	movb	%al, 2(%rdx)
	testb	%r12b, %r12b
	je	LBB0_9
## %bb.8:
	addq	$3, %rdx
	jmp	LBB0_33
LBB0_9:
	movq	(%r11), %rax
	leal	-8(%r13), %ecx
	movl	%esi, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %ebx
	andl	$15, %ebx
	movb	(%rax,%rbx,4), %al
	movb	%al, 3(%rdx)
	testb	%r15b, %r15b
	je	LBB0_11
## %bb.10:
	addq	$4, %rdx
	jmp	LBB0_33
LBB0_11:
	movq	(%r11), %rax
	leal	-12(%r13), %ecx
	movl	%esi, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %ebx
	andl	$15, %ebx
	movb	(%rax,%rbx,4), %al
	movb	%al, 4(%rdx)
	testb	%r14b, %r14b
	je	LBB0_13
## %bb.12:
	addq	$5, %rdx
	jmp	LBB0_33
LBB0_22:
	testl	$15728640, %esi                 ## imm = 0xF00000
	je	LBB0_24
## %bb.23:
	movb	$54, %cl
	movb	$1, %r9b
	movl	$20, %r13d
	xorl	%r8d, %r8d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	xorl	%r10d, %r10d
	jmp	LBB0_7
LBB0_13:
	movq	(%r11), %rax
	leal	-16(%r13), %ecx
	movl	%esi, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %ebx
	andl	$15, %ebx
	movb	(%rax,%rbx,4), %al
	movb	%al, 5(%rdx)
	testb	%r10b, %r10b
	je	LBB0_15
## %bb.14:
	addq	$6, %rdx
	jmp	LBB0_33
LBB0_24:
	testl	$983040, %esi                   ## imm = 0xF0000
	je	LBB0_26
## %bb.25:
	movb	$53, %cl
	movb	$1, %r10b
	movl	$16, %r13d
	xorl	%r8d, %r8d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_15:
	movq	(%r11), %rax
	leal	-20(%r13), %ecx
	movl	%esi, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %ebx
	andl	$15, %ebx
	movb	(%rax,%rbx,4), %al
	movb	%al, 6(%rdx)
	testb	%r9b, %r9b
	je	LBB0_17
## %bb.16:
	addq	$7, %rdx
	jmp	LBB0_33
LBB0_17:
	movq	(%r11), %rax
	leal	-24(%r13), %ecx
	movl	%esi, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %ebx
	andl	$15, %ebx
	movb	(%rax,%rbx,4), %al
	movb	%al, 7(%rdx)
	testb	%r8b, %r8b
	je	LBB0_19
## %bb.18:
	addq	$8, %rdx
	jmp	LBB0_33
LBB0_26:
	testl	$61440, %esi                    ## imm = 0xF000
	je	LBB0_28
## %bb.27:
	movb	$52, %cl
	movb	$1, %r14b
	movl	$12, %r13d
	xorl	%r8d, %r8d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_19:
	movq	(%r11), %rax
	addb	$-28, %r13b
	movl	%r13d, %ecx
	sarl	%cl, %esi
	andl	$15, %esi
	movb	(%rax,%rsi,4), %al
	movb	%al, 8(%rdx)
	addq	$9, %rdx
LBB0_33:
	movq	%rdx, (%rdi)
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	testl	$3840, %esi                     ## imm = 0xF00
	je	LBB0_30
## %bb.29:
	movb	$51, %cl
	movb	$1, %r15b
	movl	$8, %r13d
	xorl	%r8d, %r8d
	xorl	%r12d, %r12d
	jmp	LBB0_4
LBB0_30:
	testb	$-16, %sil
	je	LBB0_32
## %bb.31:
	movb	$50, %cl
	movb	$1, %r12b
	movl	$4, %r13d
	xorl	%r8d, %r8d
	jmp	LBB0_3
LBB0_32:
	movw	$12337, (%rdx)                  ## imm = 0x3031
	addq	$2, %rdx
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_digs,8,3                       ## @digs
	.no_dead_strip	_writevalue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function writevalue
_writevalue:                            ; @writevalue
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	lsr	w9, w1, #28
	cbnz	w9, LBB0_3
; %bb.1:
	tst	w1, #0xf000000
	b.eq	LBB0_10
; %bb.2:
	mov	w15, #0
	mov	w13, #0
	mov	w12, #0
	mov	w11, #0
	mov	w10, #0
	mov	w16, #55
	mov	w9, #1
	mov	w14, #24
	b	LBB0_4
LBB0_3:
	mov	w9, #0
	mov	w15, #0
	mov	w13, #0
	mov	w12, #0
	mov	w11, #0
	mov	w10, #0
	mov	w16, #56
	mov	w14, #28
LBB0_4:
	strb	w16, [x8]
Lloh0:
	adrp	x16, _digs@GOTPAGE
Lloh1:
	ldr	x16, [x16, _digs@GOTPAGEOFF]
	ldr	x17, [x16]
	asr	w2, w1, w14
	and	w2, w2, #0xf
	ldr	w17, [x17, w2, uxtw #2]
	strb	w17, [x8, #1]
	sub	w17, w14, #4
	ldr	x2, [x16]
	asr	w17, w1, w17
	and	w17, w17, #0xf
	ldr	w17, [x2, w17, uxtw #2]
	strb	w17, [x8, #2]
	tbz	w15, #0, LBB0_6
; %bb.5:
	add	x8, x8, #3
	str	x8, [x0]
	ret
LBB0_6:
	sub	w15, w14, #8
	ldr	x17, [x16]
	asr	w15, w1, w15
	and	w15, w15, #0xf
	ldr	w15, [x17, w15, uxtw #2]
	strb	w15, [x8, #3]
	tbz	w13, #0, LBB0_8
; %bb.7:
	add	x8, x8, #4
	str	x8, [x0]
	ret
LBB0_8:
	sub	w13, w14, #12
	ldr	x15, [x16]
	asr	w13, w1, w13
	and	w13, w13, #0xf
	ldr	w13, [x15, w13, uxtw #2]
	strb	w13, [x8, #4]
	tbz	w12, #0, LBB0_12
; %bb.9:
	add	x8, x8, #5
	str	x8, [x0]
	ret
LBB0_10:
	tst	w1, #0xf00000
	b.eq	LBB0_14
; %bb.11:
	mov	w9, #0
	mov	w15, #0
	mov	w13, #0
	mov	w12, #0
	mov	w11, #0
	mov	w16, #54
	mov	w10, #1
	mov	w14, #20
	b	LBB0_4
LBB0_12:
	sub	w12, w14, #16
	ldr	x13, [x16]
	asr	w12, w1, w12
	and	w12, w12, #0xf
	ldr	w12, [x13, w12, uxtw #2]
	strb	w12, [x8, #5]
	tbz	w11, #0, LBB0_16
; %bb.13:
	add	x8, x8, #6
	str	x8, [x0]
	ret
LBB0_14:
	tst	w1, #0xf0000
	b.eq	LBB0_20
; %bb.15:
	mov	w9, #0
	mov	w15, #0
	mov	w13, #0
	mov	w12, #0
	mov	w10, #0
	mov	w16, #53
	mov	w11, #1
	mov	w14, #16
	b	LBB0_4
LBB0_16:
	sub	w11, w14, #20
	ldr	x12, [x16]
	asr	w11, w1, w11
	and	w11, w11, #0xf
	ldr	w11, [x12, w11, uxtw #2]
	strb	w11, [x8, #6]
	tbz	w10, #0, LBB0_18
; %bb.17:
	add	x8, x8, #7
	str	x8, [x0]
	ret
LBB0_18:
	sub	w10, w14, #24
	ldr	x11, [x16]
	asr	w10, w1, w10
	and	w10, w10, #0xf
	ldr	w10, [x11, w10, uxtw #2]
	strb	w10, [x8, #7]
	tbz	w9, #0, LBB0_22
; %bb.19:
	add	x8, x8, #8
	str	x8, [x0]
	ret
LBB0_20:
	tst	w1, #0xf000
	b.eq	LBB0_23
; %bb.21:
	mov	w9, #0
	mov	w15, #0
	mov	w13, #0
	mov	w11, #0
	mov	w10, #0
	mov	w16, #52
	mov	w12, #1
	mov	w14, #12
	b	LBB0_4
LBB0_22:
	sub	w9, w14, #28
	ldr	x10, [x16]
	asr	w9, w1, w9
	and	w9, w9, #0xf
	ldr	w9, [x10, w9, uxtw #2]
	strb	w9, [x8, #8]
	add	x8, x8, #9
	str	x8, [x0]
	ret
LBB0_23:
	tst	w1, #0xf00
	b.eq	LBB0_25
; %bb.24:
	mov	w9, #0
	mov	w15, #0
	mov	w12, #0
	mov	w11, #0
	mov	w10, #0
	mov	w16, #51
	mov	w13, #1
	mov	w14, #8
	b	LBB0_4
LBB0_25:
	tst	w1, #0xf0
	b.eq	LBB0_27
; %bb.26:
	mov	w9, #0
	mov	w13, #0
	mov	w12, #0
	mov	w11, #0
	mov	w10, #0
	mov	w16, #50
	mov	w15, #1
	mov	w14, #4
	b	LBB0_4
LBB0_27:
	mov	w9, #12337
	strh	w9, [x8], #2
	str	x8, [x0]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_digs,8,3                       ; @digs
	.no_dead_strip	_writevalue
.subsections_via_symbols
