	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ub_putc
_ub_putc:                               ## @ub_putc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	cmpb	$10, %r14b
	jne	LBB0_5
## %bb.1:
	movq	_IMX_UTS@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ub_getreg
	movq	_IMX_UTS_TXFULL@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	## InlineAsm Start
	nop
	## InlineAsm End
	movl	(%r15), %edi
	callq	_ub_getreg
	testl	%eax, (%rbx)
	jne	LBB0_2
LBB0_4:
	movq	_IMX_TXD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$13, %esi
	callq	_ub_setreg
LBB0_5:
	movq	_IMX_UTS@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ub_getreg
	movq	_IMX_UTS_TXFULL@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	## InlineAsm Start
	nop
	## InlineAsm End
	movl	(%r15), %edi
	callq	_ub_getreg
	testl	%eax, (%rbx)
	jne	LBB0_6
LBB0_8:
	movq	_IMX_TXD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	%r14b, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ub_setreg                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IMX_UTS,4,2                    ## @IMX_UTS
	.comm	_IMX_UTS_TXFULL,4,2             ## @IMX_UTS_TXFULL
	.comm	_IMX_TXD,4,2                    ## @IMX_TXD
	.no_dead_strip	_ub_putc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ub_putc
_ub_putc:                               ; @ub_putc
	.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	x19, x0
Lloh0:
	adrp	x20, _IMX_UTS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IMX_UTS@GOTPAGEOFF]
Lloh2:
	adrp	x22, _IMX_UTS_TXFULL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _IMX_UTS_TXFULL@GOTPAGEOFF]
Lloh4:
	adrp	x21, _IMX_TXD@GOTPAGE
Lloh5:
	ldr	x21, [x21, _IMX_TXD@GOTPAGEOFF]
	cmp	w0, #10
	b.ne	LBB0_5
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_ub_getreg
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	; InlineAsm Start
	nop
	; InlineAsm End
	b	LBB0_1
LBB0_3:
	ldr	w0, [x21]
	mov	w1, #13
	bl	_ub_setreg
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	; InlineAsm Start
	nop
	; InlineAsm End
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_ub_getreg
	ldr	w8, [x22]
	tst	w8, w0
	b.ne	LBB0_4
; %bb.6:
	ldr	w0, [x21]
	mov	x1, x19
	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
	b	_ub_setreg
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IMX_UTS,4,2                    ; @IMX_UTS
	.comm	_IMX_UTS_TXFULL,4,2             ; @IMX_UTS_TXFULL
	.comm	_IMX_TXD,4,2                    ; @IMX_TXD
	.no_dead_strip	_ub_putc
.subsections_via_symbols
