	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_emit_char                  ## -- Begin function ada_emit_char
	.p2align	4, 0x90
_ada_emit_char:                         ## @ada_emit_char
	.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
	xorl	%ebx, %ebx
	cmpl	$2, %ecx
	sete	%bl
	incl	%ebx
	movq	_TARGET_CHAR_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	imull	%ebx, %ecx
	movl	$-1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	%edx, %r12d
	movq	%rsi, %r14
	movl	%edi, %r15d
	notl	%eax
	andl	%eax, %r15d
	movl	%r15d, %edi
	callq	_isascii
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movl	%r15d, %edi
	callq	_isprint
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	cmpl	$34, %r12d
	jne	LBB0_6
## %bb.3:
	cmpl	$34, %r15d
	jne	LBB0_6
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$34, %edx
	jmp	LBB0_5
LBB0_7:
	addl	%ebx, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf_filtered               ## TAILCALL
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf_filtered               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TARGET_CHAR_BIT,4,2            ## @TARGET_CHAR_BIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[\"%c\"]"

L_.str.1:                               ## @.str.1
	.asciz	"%c"

L_.str.2:                               ## @.str.2
	.asciz	"[\"%0*x\"]"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ada_emit_char                  ; -- Begin function ada_emit_char
	.p2align	2
_ada_emit_char:                         ; @ada_emit_char
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	cmp	w3, #2
	mov	w8, #1
Lloh0:
	adrp	x9, _TARGET_CHAR_BIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TARGET_CHAR_BIT@GOTPAGEOFF]
	cinc	w22, w8, eq
Lloh2:
	ldr	w8, [x9]
	mul	w8, w8, w22
	mov	w9, #-1
	lsl	w8, w9, w8
	bic	w20, w0, w8
	mov	x0, x20
	bl	_isascii
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_isprint
	cbz	x0, LBB0_5
; %bb.2:
	cmp	w21, #34
	b.ne	LBB0_6
; %bb.3:
	cmp	w20, #34
	b.ne	LBB0_6
; %bb.4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #34
	b	LBB0_7
LBB0_5:
	lsl	w2, w22, #1
	str	x20, [sp]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_fprintf_filtered
	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
	add	sp, sp, #64
	ret
LBB0_6:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
LBB0_7:
	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
	add	sp, sp, #64
	b	_fprintf_filtered
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TARGET_CHAR_BIT,4,2            ; @TARGET_CHAR_BIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[\"%c\"]"

l_.str.1:                               ; @.str.1
	.asciz	"%c"

l_.str.2:                               ; @.str.2
	.asciz	"[\"%0*x\"]"

.subsections_via_symbols
