	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_md_estimate_size_before_relax  ## -- Begin function md_estimate_size_before_relax
	.p2align	4, 0x90
_md_estimate_size_before_relax:         ## @md_estimate_size_before_relax
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpl	$1, (%rdi)
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_insn_to_subtype
	movl	%eax, (%rbx)
LBB0_2:
	movl	16(%rbx), %edi
	callq	_S_GET_SEGMENT
	cmpq	%r14, %rax
	je	LBB0_4
## %bb.3:
	movq	_subtype_mappings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rbx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_insn_to_subtype
	movl	%eax, (%rbx)
LBB0_4:
	movq	_MEP_VLIW@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.5:
	movq	_MEP_VLIW64@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_13
## %bb.6:
	movq	_stdoutput@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_bfd_get_section_flags
	movq	_SEC_MEP_VLIW@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.7:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	$130, %eax
	je	LBB0_11
## %bb.8:
	cmpl	$129, %eax
	je	LBB0_11
## %bb.9:
	cmpl	$128, %eax
	jne	LBB0_13
## %bb.10:
	movq	_subtype_mappings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rbx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_insn_to_subtype
	jmp	LBB0_12
LBB0_11:
	movl	(%rbx), %eax
	incl	%eax
LBB0_12:
	movl	%eax, (%rbx)
LBB0_13:
	movq	8(%rbx), %rdx
	movq	(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movslq	(%rax), %rsi
	movq	_subtype_mappings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rbx), %rcx
	leaq	(%rcx,%rcx,2), %rdi
	movl	4(%rax,%rdi,4), %edi
	cmpl	%edi, %esi
	je	LBB0_18
## %bb.16:
	cmpl	$-1, %edi
	je	LBB0_18
## %bb.17:
	movslq	%edi, %rdi
	shlq	$3, %rsi
	subq	%rsi, %rdx
	leaq	(%rdx,%rdi,8), %rdx
	movq	%rdx, 8(%rbx)
	jmp	LBB0_18
LBB0_14:
	movq	_subtype_mappings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rbx), %rcx
LBB0_18:
	leaq	(%rcx,%rcx,2), %rcx
	movl	8(%rax,%rcx,4), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_subtype_mappings,8,3           ## @subtype_mappings
	.comm	_MEP_VLIW,8,3                   ## @MEP_VLIW
	.comm	_MEP_VLIW64,4,2                 ## @MEP_VLIW64
	.comm	_stdoutput,4,2                  ## @stdoutput
	.comm	_SEC_MEP_VLIW,4,2               ## @SEC_MEP_VLIW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_md_estimate_size_before_relax  ; -- Begin function md_estimate_size_before_relax
	.p2align	2
_md_estimate_size_before_relax:         ; @md_estimate_size_before_relax
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_insn_to_subtype
	str	w0, [x19]
LBB0_2:
	ldr	w0, [x19, #16]
	bl	_S_GET_SEGMENT
Lloh0:
	adrp	x21, _subtype_mappings@GOTPAGE
Lloh1:
	ldr	x21, [x21, _subtype_mappings@GOTPAGEOFF]
	cmp	x0, x20
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x21]
	ldrsw	x9, [x19]
	mov	w10, #12
	mul	x9, x9, x10
	ldr	w0, [x8, x9]
	bl	_insn_to_subtype
	str	w0, [x19]
LBB0_4:
Lloh2:
	adrp	x8, _MEP_VLIW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MEP_VLIW@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _MEP_VLIW64@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MEP_VLIW64@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, #0, #0, ne
	b.ne	LBB0_12
; %bb.5:
Lloh8:
	adrp	x8, _stdoutput@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stdoutput@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_bfd_get_section_flags
Lloh11:
	adrp	x8, _SEC_MEP_VLIW@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SEC_MEP_VLIW@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_12
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, #130
	b.eq	LBB0_10
; %bb.7:
	cmp	w8, #129
	b.eq	LBB0_10
; %bb.8:
	cmp	w8, #128
	b.ne	LBB0_12
; %bb.9:
	ldr	x8, [x21]
	ldrsw	x9, [x19]
	mov	w10, #12
	mul	x9, x9, x10
	ldr	w0, [x8, x9]
	bl	_insn_to_subtype
	b	LBB0_11
LBB0_10:
	ldr	w8, [x19]
	add	w0, w8, #1
LBB0_11:
	str	w0, [x19]
LBB0_12:
	ldr	x10, [x19, #8]
	ldr	x8, [x10]
	cbz	x8, LBB0_15
; %bb.13:
	ldrsw	x11, [x8]
	ldr	x8, [x21]
	ldrsw	x9, [x19]
	mov	w12, #12
	madd	x12, x9, x12, x8
	ldr	w12, [x12, #4]
	cmp	w11, w12
	ccmn	w12, #1, #4, ne
	b.eq	LBB0_16
; %bb.14:
	sxtw	x12, w12
	sub	x10, x10, x11, lsl #3
	add	x10, x10, x12, lsl #3
	str	x10, [x19, #8]
	b	LBB0_16
LBB0_15:
	ldr	x8, [x21]
	ldrsw	x9, [x19]
LBB0_16:
	mov	w10, #12
	madd	x8, x9, x10, x8
	ldr	w0, [x8, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_subtype_mappings,8,3           ; @subtype_mappings
	.comm	_MEP_VLIW,8,3                   ; @MEP_VLIW
	.comm	_MEP_VLIW64,4,2                 ; @MEP_VLIW64
	.comm	_stdoutput,4,2                  ; @stdoutput
	.comm	_SEC_MEP_VLIW,4,2               ; @SEC_MEP_VLIW
.subsections_via_symbols
