	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_magic_value                ## -- Begin function set_magic_value
	.p2align	4, 0x90
_set_magic_value:                       ## @set_magic_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movl	%esi, %edx
	leal	-476(%rdx), %eax
	cmpl	$8, %eax
	jbe	LBB0_16
## %bb.1:
	leal	-232(%rdx), %eax
	cmpl	$4, %eax
	ja	LBB0_2
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	orb	$1, (%rdi)
	jmp	LBB0_15
LBB0_16:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	orb	$1, 1(%rdi)
	jmp	LBB0_15
LBB0_2:
	cmpl	$424, %edx                      ## imm = 0x1A8
	jne	LBB0_14
## %bb.3:
	orb	$2, (%rdi)
	jmp	LBB0_15
LBB0_14:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rdi), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_fprintf
	movl	$-1, (%rbx)
	jmp	LBB0_15
LBB0_12:
	orb	$2, 1(%rdi)
	jmp	LBB0_15
LBB0_13:
	orb	$4, 1(%rdi)
	jmp	LBB0_15
LBB0_9:
	orb	$64, (%rdi)
	jmp	LBB0_15
LBB0_10:
	orb	$-128, (%rdi)
	jmp	LBB0_15
LBB0_7:
	orb	$16, (%rdi)
	jmp	LBB0_15
LBB0_8:
	orb	$32, (%rdi)
	jmp	LBB0_15
LBB0_6:
	orb	$4, (%rdi)
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_14
	.long	L0_0_set_6
.set L0_1_set_11, LBB0_11-LJTI0_1
.set L0_1_set_14, LBB0_14-LJTI0_1
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
.set L0_1_set_9, LBB0_9-LJTI0_1
.set L0_1_set_10, LBB0_10-LJTI0_1
LJTI0_1:
	.long	L0_1_set_11
	.long	L0_1_set_14
	.long	L0_1_set_14
	.long	L0_1_set_14
	.long	L0_1_set_14
	.long	L0_1_set_12
	.long	L0_1_set_13
	.long	L0_1_set_9
	.long	L0_1_set_10
	.end_data_region
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid hash code 0x%x for magic value 0x%x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_magic_value                ; -- Begin function set_magic_value
	.p2align	2
_set_magic_value:                       ; @set_magic_value
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x2, x1
	sub	w8, w1, #476
	cmp	w8, #8
	b.ls	LBB0_4
; %bb.1:
	sub	w8, w2, #232
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	w8, [x0]
	orr	w8, w8, #0x1
	b	LBB0_16
LBB0_4:
Lloh2:
	adrp	x9, lJTI0_1@PAGE
Lloh3:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	ldr	w8, [x0]
	orr	w8, w8, #0x100
	b	LBB0_16
LBB0_6:
	cmp	w2, #424
	b.ne	LBB0_8
; %bb.7:
	ldr	w8, [x0]
	orr	w8, w8, #0x2
	b	LBB0_16
LBB0_8:
Lloh4:
	adrp	x8, _stderr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w3, [x0]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_fprintf
	mov	w8, #-1
	str	w8, [x19]
	b	LBB0_17
LBB0_9:
	ldr	w8, [x0]
	orr	w8, w8, #0x200
	b	LBB0_16
LBB0_10:
	ldr	w8, [x0]
	orr	w8, w8, #0x400
	b	LBB0_16
LBB0_11:
	ldr	w8, [x0]
	orr	w8, w8, #0x40
	b	LBB0_16
LBB0_12:
	ldr	w8, [x0]
	orr	w8, w8, #0x80
	b	LBB0_16
LBB0_13:
	ldr	w8, [x0]
	orr	w8, w8, #0x10
	b	LBB0_16
LBB0_14:
	ldr	w8, [x0]
	orr	w8, w8, #0x20
	b	LBB0_16
LBB0_15:
	ldr	w8, [x0]
	orr	w8, w8, #0x4
LBB0_16:
	str	w8, [x0]
LBB0_17:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
lJTI0_1:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid hash code 0x%x for magic value 0x%x\n"

.subsections_via_symbols
