	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function instruction_serialization
_instruction_serialization:             ## @instruction_serialization
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_md@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_2:
	movq	_regdepslen@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_14
## %bb.3:
	movq	_regdeps@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$1, %r8d
	jne	LBB0_5
## %bb.4:
	xorl	%edx, %edx
LBB0_11:
	testb	$1, %r8b
	je	LBB0_14
## %bb.12:
	movq	(%rax,%rdx,8), %rcx
	movq	_STATE_STOP@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_14
## %bb.13:
	movq	_STATE_SRLZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax,%rdx,8)
LBB0_14:
	popq	%rbp
	retq
LBB0_5:
	movl	%r8d, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	movq	_STATE_STOP@GOTPCREL(%rip), %rdi
	movq	_STATE_SRLZ@GOTPCREL(%rip), %r9
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	je	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rdx,8), %rcx
	cmpq	(%rdi), %rcx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r9), %rcx
	movq	%rcx, (%rax,%rdx,8)
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rax,%rdx,8), %rcx
	cmpq	(%rdi), %rcx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r9), %rcx
	movq	%rcx, 8(%rax,%rdx,8)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_md,8,3                         ## @md
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"  Instruction serialization\n"

	.comm	_regdepslen,4,2                 ## @regdepslen
	.comm	_regdeps,8,3                    ## @regdeps
	.comm	_STATE_STOP,8,3                 ## @STATE_STOP
	.comm	_STATE_SRLZ,8,3                 ## @STATE_SRLZ
	.no_dead_strip	_instruction_serialization
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function instruction_serialization
_instruction_serialization:             ; @instruction_serialization
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _md@GOTPAGE
Lloh1:
	ldr	x8, [x8, _md@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
Lloh8:
	adrp	x8, _regdepslen@GOTPAGE
Lloh9:
	ldr	x8, [x8, _regdepslen@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x8]
	cmp	w10, #1
	b.lt	LBB0_26
; %bb.3:
Lloh11:
	adrp	x8, _regdeps@GOTPAGE
Lloh12:
	ldr	x8, [x8, _regdeps@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x8]
Lloh14:
	adrp	x8, _STATE_STOP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _STATE_STOP@GOTPAGEOFF]
Lloh16:
	adrp	x9, _STATE_SRLZ@GOTPAGE
Lloh17:
	ldr	x9, [x9, _STATE_SRLZ@GOTPAGEOFF]
	cmp	w10, #8
	b.hs	LBB0_5
; %bb.4:
	mov	x12, #0
	b	LBB0_27
LBB0_5:
	mov	x12, #0
	add	x14, x11, x10, lsl #3
	add	x15, x8, #8
	add	x13, x9, #8
	cmp	x11, x13
	ccmp	x14, x9, #0, lo
	cset	w13, hi
	cmp	x14, x8
	ccmp	x11, x15, #2, hi
	b.lo	LBB0_27
; %bb.6:
	tbnz	w13, #0, LBB0_27
; %bb.7:
	and	x12, x10, #0xfffffff8
	ld1r.2d	{ v0 }, [x8]
	ldr	x13, [x9]
	add	x14, x11, #32
	mov	x15, x12
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x14, x14, #64
	subs	x15, x15, #8
	b.eq	LBB0_25
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldur	q2, [x14, #-32]
	ldr	d1, [x8]
	cmeq.2d	v2, v2, v0
	xtn.2s	v2, v2
	fmov	w16, s2
	tbz	w16, #0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	stur	x13, [x14, #-32]
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	mov.s	w16, v2[1]
	tbz	w16, #0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	stur	x13, [x14, #-24]
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	ldur	q2, [x14, #-16]
	cmeq.2d	v2, v2, v0
	xtn.2s	v2, v2
	fmov	w16, s2
	tbz	w16, #0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	stur	x13, [x14, #-16]
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	mov.s	w16, v2[1]
	tbz	w16, #0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	stur	x13, [x14, #-8]
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	q2, [x14]
	cmeq.2d	v2, v2, v0
	xtn.2s	v2, v2
	fmov	w16, s2
	tbz	w16, #0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x13, [x14]
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=1
	mov.s	w16, v2[1]
	tbz	w16, #0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x13, [x14, #8]
LBB0_21:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	q2, [x14, #16]
	dup.2d	v1, v1[0]
	cmeq.2d	v1, v2, v1
	xtn.2s	v1, v1
	fmov	w16, s1
	tbz	w16, #0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x13, [x14, #16]
LBB0_23:                                ;   in Loop: Header=BB0_9 Depth=1
	mov.s	w16, v1[1]
	tbz	w16, #0, LBB0_8
; %bb.24:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x13, [x14, #24]
	b	LBB0_8
LBB0_25:
	cmp	x12, x10
	b.ne	LBB0_27
LBB0_26:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_27:
	add	x11, x11, x12, lsl #3
	sub	x10, x10, x12
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	add	x11, x11, #8
	subs	x10, x10, #1
	b.eq	LBB0_26
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11]
	ldr	x13, [x8]
	cmp	x12, x13
	b.ne	LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	x12, [x9]
	str	x12, [x11]
	b	LBB0_28
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_md,8,3                         ; @md
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  Instruction serialization\n"

	.comm	_regdepslen,4,2                 ; @regdepslen
	.comm	_regdeps,8,3                    ; @regdeps
	.comm	_STATE_STOP,8,3                 ; @STATE_STOP
	.comm	_STATE_SRLZ,8,3                 ; @STATE_SRLZ
	.no_dead_strip	_instruction_serialization
.subsections_via_symbols
