	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pipe_trans
_pipe_trans:                            ## @pipe_trans
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rdx
	movq	8(%rdi), %rax
	movl	16(%rdi), %edi
	movl	20(%rbx), %esi
	cmpq	%rax, %rdx
	jge	LBB0_2
## %bb.1:
	callq	_memcpy
	movq	(%rbx), %rax
	movq	%rax, (%r12)
	movq	%rax, (%r15)
	movl	(%rbx), %ecx
	movl	20(%rbx), %edx
	addl	%ecx, %edx
	xorl	%eax, %eax
	movq	_TRANS_STREAM_ERROR_BUFFER_FULL@GOTPCREL(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	movq	%rax, %rdx
	callq	_memcpy
	movq	8(%rbx), %rax
	movq	%rax, (%r12)
	movq	%rax, (%r15)
	movl	8(%rbx), %ecx
	movl	20(%rbx), %edx
	addl	%ecx, %edx
	movl	$1, %eax
	movq	_TRANS_STREAM_ERROR_NONE@GOTPCREL(%rip), %rsi
LBB0_3:
	movl	%edx, 20(%rbx)
	addl	%ecx, 16(%rbx)
	movl	(%rsi), %ecx
	movl	%ecx, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRANS_STREAM_ERROR_BUFFER_FULL,4,2 ## @TRANS_STREAM_ERROR_BUFFER_FULL
	.comm	_TRANS_STREAM_ERROR_NONE,4,2    ## @TRANS_STREAM_ERROR_NONE
	.no_dead_strip	_pipe_trans
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pipe_trans
_pipe_trans:                            ; @pipe_trans
	.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, x4
	mov	x22, x3
	mov	x21, x2
	mov	x20, x0
	ldp	x2, x8, [x0]
	ldr	w0, [x0, #16]
	ldr	w1, [x20, #20]
	cmp	x2, x8
	b.ge	LBB0_2
; %bb.1:
	bl	_memcpy
	mov	w0, #0
	ldr	x8, [x20]
	str	x8, [x22]
	str	x8, [x21]
	ldr	w8, [x20]
	ldr	w9, [x20, #20]
	add	w9, w9, w8
Lloh0:
	adrp	x10, _TRANS_STREAM_ERROR_BUFFER_FULL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TRANS_STREAM_ERROR_BUFFER_FULL@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	x2, x8
	bl	_memcpy
	ldr	x8, [x20, #8]
	str	x8, [x22]
	str	x8, [x21]
	ldr	w8, [x20, #8]
	ldr	w9, [x20, #20]
	add	w9, w9, w8
	mov	w0, #1
Lloh2:
	adrp	x10, _TRANS_STREAM_ERROR_NONE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _TRANS_STREAM_ERROR_NONE@GOTPAGEOFF]
LBB0_3:
	ldr	w11, [x20, #16]
	add	w8, w11, w8
	stp	w8, w9, [x20, #16]
	ldr	w8, [x10]
	str	w8, [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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_TRANS_STREAM_ERROR_BUFFER_FULL,4,2 ; @TRANS_STREAM_ERROR_BUFFER_FULL
	.comm	_TRANS_STREAM_ERROR_NONE,4,2    ; @TRANS_STREAM_ERROR_NONE
	.no_dead_strip	_pipe_trans
.subsections_via_symbols
