	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_fputs                       ## -- Begin function do_fputs
	.p2align	4, 0x90
_do_fputs:                              ## @do_fputs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rdx
	movq	_proc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %ecx
	testl	%ecx, %ecx
	js	LBB0_5
## %bb.1:
	movq	16(%rax), %rsi
	incq	%rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rsi,%rbx,4)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %rcx
	jne	LBB0_3
LBB0_5:
	cmpb	$0, (%rdx)
	setne	%bl
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rdx, %rsi
	callq	*%rax
	jmp	LBB0_9
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_7:
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_9:
	movzbl	%bl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_proc,8,3                       ## @proc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_fputs                       ; -- Begin function do_fputs
	.p2align	2
_do_fputs:                              ; @do_fputs
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x2, x1
Lloh0:
	adrp	x8, _proc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _proc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w10, [x8, #8]
	tbnz	w10, #31, LBB0_4
; %bb.1:
	ldr	x9, [x8, #16]
	add	x10, x10, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	cbz	w11, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #4
	subs	x10, x10, #1
	b.ne	LBB0_2
LBB0_4:
	ldrb	w9, [x2]
	cmp	w9, #0
	cset	w19, ne
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x1, x2
	blr	x8
	b	LBB0_9
LBB0_6:
	mov	w19, #0
	b	LBB0_9
LBB0_7:
	ldr	x0, [x0]
	cbz	x0, LBB0_9
; %bb.8:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_proc,8,3                       ; @proc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

.subsections_via_symbols
