	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ia64_convert_frag              ## -- Begin function ia64_convert_frag
	.p2align	4, 0x90
_ia64_convert_frag:                     ## @ia64_convert_frag
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_fixup_unw_records
	movq	%r15, %rdi
	callq	_calc_record_size
	movl	%eax, %r12d
	movq	_md@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %eax
	cltd
	idivl	%ecx
	movl	%edx, %r14d
	movl	%ecx, %r13d
	subl	%edx, %r13d
	testl	%edx, %edx
	cmovel	%edx, %r13d
	cmpq	$0, 16(%rbx)
	leal	(%r13,%r12), %eax
	movl	$0, %edx
	cmovel	%edx, %ecx
	addl	%ecx, %eax
	addl	$8, %eax
	xorl	%edi, %edi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	%eax, (%rbx)
	setge	%dil
	callq	_assert
	movl	4(%rbx), %edi
	movl	$8, %edx
	callq	_md_number_to_chars
	movl	4(%rbx), %eax
	addl	$8, %eax
	movq	_vbyte_mem_ptr@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_output_vbyte_mem@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_process_unw_records
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	leal	(%r12,%r13), %edi
	addl	$8, %edi
	movq	_md@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%r14d, %edi
	addl	4(%rbx), %edi
	subl	%edx, %edi
	subl	%r14d, %edx
	xorl	%esi, %esi
	callq	_md_number_to_chars
LBB0_2:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, 8(%rbx)
	movq	_rs_fill@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	$0, (%rbx)
	movq	$0, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_md,8,2                         ## @md
	.comm	_EF_IA_64_ABI64,4,2             ## @EF_IA_64_ABI64
	.comm	_vbyte_mem_ptr,4,2              ## @vbyte_mem_ptr
	.comm	_output_vbyte_mem,4,2           ## @output_vbyte_mem
	.comm	_rs_fill,4,2                    ## @rs_fill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ia64_convert_frag              ; -- Begin function ia64_convert_frag
	.p2align	2
_ia64_convert_frag:                     ; @ia64_convert_frag
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x20, [x0, #32]
	mov	x0, x20
	mov	w1, #0
	bl	_fixup_unw_records
	mov	x0, x20
	bl	_calc_record_size
Lloh0:
	adrp	x23, _md@GOTPAGE
Lloh1:
	ldr	x23, [x23, _md@GOTPAGEOFF]
	ldr	w8, [x23]
	sdiv	w9, w0, w8
	msub	w21, w9, w8, w0
	sub	w9, w8, w21
	cmp	w21, #0
	csel	w9, wzr, w9, eq
	add	w9, w9, w0
	add	w24, w9, #8
	ldr	x9, [x19, #16]
	cmp	x9, #0
	csel	w8, wzr, w8, eq
	ldr	w9, [x19]
	add	w22, w24, w8
	cmp	w9, w22
	cset	w0, ge
	bl	_assert
	ldr	w0, [x19, #4]
	mov	w2, #8
	bl	_md_number_to_chars
	ldr	w8, [x19, #4]
	add	w8, w8, #8
Lloh2:
	adrp	x9, _vbyte_mem_ptr@GOTPAGE
Lloh3:
	ldr	x9, [x9, _vbyte_mem_ptr@GOTPAGEOFF]
Lloh4:
	str	w8, [x9]
Lloh5:
	adrp	x8, _output_vbyte_mem@GOTPAGE
Lloh6:
	ldr	x8, [x8, _output_vbyte_mem@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_process_unw_records
	cbz	w21, LBB0_2
; %bb.1:
	ldr	w8, [x19, #4]
	ldr	w9, [x23]
	add	w10, w24, w21
	add	w8, w10, w8
	sub	w0, w8, w9
	sub	w2, w9, w21
	mov	w1, #0
	bl	_md_number_to_chars
LBB0_2:
	ldr	w8, [x19, #8]
	add	w8, w8, w22
	str	w8, [x19, #8]
Lloh8:
	adrp	x8, _rs_fill@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rs_fill@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	str	wzr, [x19]
	str	xzr, [x19, #16]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_md,8,2                         ; @md
	.comm	_EF_IA_64_ABI64,4,2             ; @EF_IA_64_ABI64
	.comm	_vbyte_mem_ptr,4,2              ; @vbyte_mem_ptr
	.comm	_output_vbyte_mem,4,2           ; @output_vbyte_mem
	.comm	_rs_fill,4,2                    ; @rs_fill
.subsections_via_symbols
