	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee_write_id
_ieee_write_id:                         ## @ieee_write_id
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %r15d
	cmpl	$127, %eax
	ja	LBB0_3
## %bb.1:
	movsbl	%r15b, %esi
	movq	%r14, %rdi
	callq	_ieee_write_byte
	testl	%eax, %eax
	jne	LBB0_9
	jmp	LBB0_15
LBB0_3:
	cmpl	$255, %r15d
	ja	LBB0_6
## %bb.4:
	movq	_ieee_extension_length_1_enum@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ieee_write_byte
	movq	_FALSE@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	je	LBB0_16
## %bb.5:
	movsbl	%r15b, %esi
	movq	%r14, %rdi
	callq	_ieee_write_byte
	testl	%eax, %eax
	jne	LBB0_9
	jmp	LBB0_16
LBB0_6:
	cmpl	$65535, %r15d                   ## imm = 0xFFFF
	ja	LBB0_14
## %bb.7:
	movq	_ieee_extension_length_2_enum@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ieee_write_byte
	movq	_FALSE@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	je	LBB0_16
## %bb.8:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_ieee_write_2bytes
	testl	%eax, %eax
	je	LBB0_16
LBB0_9:
	movb	(%rbx), %al
	movq	_TRUE@GOTPCREL(%rip), %r12
	testb	%al, %al
	je	LBB0_16
## %bb.10:
	incq	%rbx
	movq	_FALSE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ieee_write_byte
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_11
	jmp	LBB0_16
LBB0_13:
	movq	%r15, %r12
	jmp	LBB0_16
LBB0_14:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movq	%rax, %rsi
	movl	%r15d, %edx
	callq	_fprintf
LBB0_15:
	movq	_FALSE@GOTPCREL(%rip), %r12
LBB0_16:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_ieee_extension_length_1_enum,8,3 ## @ieee_extension_length_1_enum
	.comm	_ieee_extension_length_2_enum,8,3 ## @ieee_extension_length_2_enum
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IEEE string length overflow: %u\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_ieee_write_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee_write_id
_ieee_write_id:                         ; @ieee_write_id
	.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
	mov	x0, x1
	bl	_strlen
	mov	x21, x0
	cmp	w0, #127
	b.ls	LBB0_3
; %bb.1:
	cmp	w21, #255
	b.hi	LBB0_8
; %bb.2:
Lloh0:
	adrp	x8, _ieee_extension_length_1_enum@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ieee_extension_length_1_enum@GOTPAGEOFF]
Lloh2:
	ldrsb	w1, [x8]
	mov	x0, x19
	bl	_ieee_write_byte
	cbz	w0, LBB0_14
LBB0_3:
	sxtb	w1, w21
	mov	x0, x19
	bl	_ieee_write_byte
	cbz	w0, LBB0_14
LBB0_4:
	ldrb	w8, [x20]
	cbz	w8, LBB0_11
; %bb.5:
	add	x22, x20, #1
Lloh3:
	adrp	x21, _FALSE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
Lloh5:
	adrp	x20, _TRUE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _TRUE@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w1, w8
	mov	x0, x19
	bl	_ieee_write_byte
	cbz	w0, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x22], #1
	cbnz	w8, LBB0_6
	b	LBB0_15
LBB0_8:
	lsr	w8, w21, #16
	cbnz	w8, LBB0_13
; %bb.9:
Lloh7:
	adrp	x8, _ieee_extension_length_2_enum@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ieee_extension_length_2_enum@GOTPAGEOFF]
Lloh9:
	ldrsb	w1, [x8]
	mov	x0, x19
	bl	_ieee_write_byte
	cbz	w0, LBB0_14
; %bb.10:
	mov	x0, x19
	mov	x1, x21
	bl	_ieee_write_2bytes
	cbnz	w0, LBB0_4
	b	LBB0_14
LBB0_11:
Lloh10:
	adrp	x20, _TRUE@GOTPAGE
Lloh11:
	ldr	x20, [x20, _TRUE@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
	mov	x20, x21
	b	LBB0_15
LBB0_13:
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_fprintf
LBB0_14:
Lloh17:
	adrp	x20, _FALSE@GOTPAGE
Lloh18:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x20]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_ieee_extension_length_1_enum,8,3 ; @ieee_extension_length_1_enum
	.comm	_ieee_extension_length_2_enum,8,3 ; @ieee_extension_length_2_enum
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IEEE string length overflow: %u\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_ieee_write_id
.subsections_via_symbols
