	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function putchr
_putchr:                                ## @putchr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movb	%dil, -1(%rbp)
	movq	_NP@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movl	%edi, %eax
	jne	LBB0_3
## %bb.1:
	movq	_partab@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%edi, %edx
	andl	$127, %edx
	movl	$128, %eax
	andl	(%rcx,%rdx,4), %eax
	orl	%edi, %eax
	movb	%al, -1(%rbp)
	movq	_OP@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.2:
	addb	$-128, %al
	movb	%al, -1(%rbp)
LBB0_3:
	movq	_UB@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_4
## %bb.6:
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-1(%rbp), %rsi
	movl	$1, %edx
	callq	_write
	jmp	LBB0_7
LBB0_4:
	movq	_outbuf@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_obufcnt@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	leaq	1(%rsi), %rdi
	movq	%rdi, (%rdx)
	movb	%al, (%rcx,%rsi)
	movq	(%rdx), %rax
	movq	_OBUFSIZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_5
LBB0_7:
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbp
	jmp	_oflush                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NP,4,2                         ## @NP
	.comm	_partab,8,3                     ## @partab
	.comm	_OP,8,3                         ## @OP
	.comm	_UB,4,2                         ## @UB
	.comm	_outbuf,8,3                     ## @outbuf
	.comm	_obufcnt,8,3                    ## @obufcnt
	.comm	_OBUFSIZ,8,3                    ## @OBUFSIZ
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.no_dead_strip	_putchr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function putchr
_putchr:                                ; @putchr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sturb	w0, [x29, #-1]
Lloh0:
	adrp	x8, _NP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _partab@GOTPAGE
Lloh4:
	ldr	x8, [x8, _partab@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	and	w9, w0, #0x7f
	ldr	w8, [x8, w9, uxtw #2]
	and	w8, w8, #0x80
	orr	w0, w8, w0
	sturb	w0, [x29, #-1]
Lloh6:
	adrp	x8, _OP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OP@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	eor	w0, w0, #0xffffff80
	sturb	w0, [x29, #-1]
LBB0_3:
Lloh9:
	adrp	x8, _UB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UB@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.4:
Lloh12:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	sub	x1, x29, #1
	mov	w2, #1
	bl	_write
	b	LBB0_6
LBB0_5:
Lloh15:
	adrp	x8, _outbuf@GOTPAGE
Lloh16:
	ldr	x8, [x8, _outbuf@GOTPAGEOFF]
Lloh17:
	adrp	x9, _obufcnt@GOTPAGE
Lloh18:
	ldr	x9, [x9, _obufcnt@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x10, [x9]
	add	x11, x10, #1
	str	x11, [x9]
	strb	w0, [x8, x10]
	ldr	x8, [x9]
Lloh20:
	adrp	x9, _OBUFSIZ@GOTPAGE
Lloh21:
	ldr	x9, [x9, _OBUFSIZ@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_7
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_oflush
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_NP,4,2                         ; @NP
	.comm	_partab,8,3                     ; @partab
	.comm	_OP,8,3                         ; @OP
	.comm	_UB,4,2                         ; @UB
	.comm	_outbuf,8,3                     ; @outbuf
	.comm	_obufcnt,8,3                    ; @obufcnt
	.comm	_OBUFSIZ,8,3                    ; @OBUFSIZ
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.no_dead_strip	_putchr
.subsections_via_symbols
