	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tap_write_ex
_tap_write_ex:                          ## @tap_write_ex
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	callq	_BIO_next
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r14
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	cmpq	-56(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_15
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%r13, %rdi
	callq	_BIO_get_data
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	leaq	_tap_write_ex.empty(%rip), %rsi
	callq	_BIO_set_data
	xorl	%eax, %eax
	callq	_subtest_level
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_write_string
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=2
	incl	%ebx
	xorl	%eax, %eax
	callq	_subtest_level
	cmpl	%eax, %ebx
	jl	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edx
	callq	_write_string
	testl	%eax, %eax
	je	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_write_string
	testl	%eax, %eax
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$10, (%rbx)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_BIO_set_data
	jmp	LBB0_14
LBB0_8:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_1:
	movl	$1, %eax
	xorl	%r12d, %r12d
	jmp	LBB0_17
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_15:
	movl	$1, %eax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_16:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_17:
	movq	%r12, (%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_tap_write_ex.empty,1,0 ## @tap_write_ex.empty
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

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

	.no_dead_strip	_tap_write_ex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tap_write_ex
_tap_write_ex:                          ; @tap_write_ex
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_BIO_next
	cbz	x20, LBB0_12
; %bb.1:
	mov	x23, x0
	mov	x28, #0
Lloh0:
	adrp	x24, _tap_write_ex.empty@PAGE
Lloh1:
	add	x24, x24, _tap_write_ex.empty@PAGEOFF
Lloh2:
	adrp	x25, l_.str@PAGE
Lloh3:
	add	x25, x25, l_.str@PAGEOFF
Lloh4:
	adrp	x26, l_.str.1@PAGE
Lloh5:
	add	x26, x26, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x28, x28, #1
	cmp	x28, x20
	b.eq	LBB0_13
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x0, x22
	bl	_BIO_get_data
	cbnz	x0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_BIO_set_data
	bl	_subtest_level
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w27, #0
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x25
	mov	w2, #1
	bl	_write_string
	cbz	w0, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	w27, w27, #1
	bl	_subtest_level
	cmp	w27, w0
	b.lt	LBB0_6
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x26
	mov	w2, #2
	bl	_write_string
	cbz	w0, LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x21, x28
	mov	x0, x23
	mov	x1, x27
	mov	w2, #1
	bl	_write_string
	cbz	w0, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x27]
	cmp	w8, #10
	b.ne	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, #0
	bl	_BIO_set_data
	b	LBB0_2
LBB0_12:
	mov	x28, #0
	mov	w0, #1
	b	LBB0_14
LBB0_13:
	mov	w0, #1
	mov	x28, x20
LBB0_14:
	str	x28, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_tap_write_ex.empty,1,0 ; @tap_write_ex.empty
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

l_.str.1:                               ; @.str.1
	.asciz	"# "

	.no_dead_strip	_tap_write_ex
.subsections_via_symbols
