	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setblock
_setblock:                              ## @setblock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	movl	(%rdi), %eax
	leal	-1(%rax), %ecx
	cmpl	$7, %ecx
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rcx,4), %rcx
	addq	%rdi, %rcx
	jmpq	*%rcx
LBB0_4:
	movl	%edx, %ecx
	andb	$7, %cl
	movl	$1, %eax
	shll	%cl, %eax
	sarl	$3, %edx
	jmp	LBB0_5
LBB0_3:
	leal	(%rdx,%rdx), %ecx
	andb	$6, %cl
	movl	$3, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	sarl	$2, %edx
	jmp	LBB0_5
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_2:
	leal	(,%rdx,4), %ecx
	andb	$4, %cl
	movl	$15, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	sarl	%edx
LBB0_5:
	movslq	%edx, %rcx
	orb	%al, (%rsi,%rcx)
	popq	%rbp
	retq
LBB0_7:
	movslq	%edx, %rax
	movb	$-1, (%rsi,%rax)
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setblock bad fs_frag %d\n"

	.no_dead_strip	_setblock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setblock
_setblock:                              ; @setblock
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
	ldr	w8, [x0]
	sub	w9, w8, #1
	cmp	w9, #7
	b.hi	LBB0_5
; %bb.1:
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	mov	x8, x2
	and	w9, w2, #0x7
	mov	w10, #1
	lsl	w9, w10, w9
	sbfx	x8, x8, #3, #29
	b	LBB0_4
LBB0_3:
	mov	x8, x2
	ubfiz	w9, w2, #1, #2
	mov	w10, #3
	lsl	w9, w10, w9
	sbfx	x8, x8, #2, #30
LBB0_4:
	ldrb	w10, [x1, x8]
	orr	w9, w10, w9
	strb	w9, [x1, x8]
	ret
LBB0_5:
Lloh2:
	adrp	x9, _stderr@GOTPAGE
Lloh3:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x9]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	b	_fprintf
LBB0_6:
	ubfiz	w8, w2, #2, #1
	mov	w9, #15
	lsl	w8, w9, w8
	sbfx	x9, x2, #1, #31
	ldrb	w10, [x1, x9]
	orr	w8, w10, w8
	strb	w8, [x1, x9]
	ret
LBB0_7:
	mov	w8, #255
	strb	w8, [x1, w2, sxtw]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setblock bad fs_frag %d\n"

	.no_dead_strip	_setblock
.subsections_via_symbols
