	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function report
_report:                                ## @report
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	testq	%rsi, %rsi
	leaq	L_.str.1(%rip), %rdx
	cmovneq	%rsi, %rdx
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdi
	xorl	%eax, %eax
	callq	_packet_buf_write
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	leaq	L_.str.2(%rip), %r14
	leaq	-40(%rbp), %r15
	leaq	L_.str.3(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_packet_buf_write
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %ecx
	movslq	4(%rbx), %rdx
	movq	%r15, %rdi
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_packet_buf_write
	jmp	LBB0_5
LBB0_6:
	leaq	-40(%rbp), %rdi
	callq	_packet_buf_flush
	movq	_use_sideband@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movl	-40(%rbp), %ecx
	movl	-36(%rbp), %edx
	movl	$1, %edi
	testq	%r8, %r8
	je	LBB0_8
## %bb.7:
	movl	$1, %esi
	callq	_send_sideband
	jmp	LBB0_9
LBB0_8:
	movl	%edx, %esi
	movl	%ecx, %edx
	callq	_write_or_die
LBB0_9:
	leaq	-40(%rbp), %rdi
	callq	_strbuf_release
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unpack %s\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"ok %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"ng %s %s\n"

	.comm	_use_sideband,8,3               ## @use_sideband
	.no_dead_strip	_report
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function report
_report:                                ; @report
	.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	x19, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	x1, #0
	csel	x2, x8, x1, eq
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_packet_buf_write
	cbz	x19, LBB0_6
; %bb.1:
Lloh7:
	adrp	x20, l_.str.2@PAGE
Lloh8:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh9:
	adrp	x21, l_.str.3@PAGE
Lloh10:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x8, [sp]
	add	x0, sp, #8
	mov	x1, x21
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_packet_buf_write
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w8, w2, [x19]
                                        ; kill: def $w2 killed $w2 def $x2
	sxtw	x2, w2
	cbnz	w8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	mov	x1, x20
	b	LBB0_3
LBB0_6:
	add	x0, sp, #8
	bl	_packet_buf_flush
Lloh11:
	adrp	x8, _use_sideband@GOTPAGE
Lloh12:
	ldr	x8, [x8, _use_sideband@GOTPAGEOFF]
Lloh13:
	ldr	x4, [x8]
	ldp	w3, w2, [sp, #8]
	mov	w0, #1
	cbz	x4, LBB0_8
; %bb.7:
	mov	w1, #1
	bl	_send_sideband
	b	LBB0_9
LBB0_8:
	mov	x1, x2
	mov	x2, x3
	bl	_write_or_die
LBB0_9:
	add	x0, sp, #8
	bl	_strbuf_release
	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
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unpack %s\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"ok %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"ng %s %s\n"

	.comm	_use_sideband,8,3               ; @use_sideband
	.no_dead_strip	_report
.subsections_via_symbols
