	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EncodeBinaryToBinaryA
_EncodeBinaryToBinaryA:                 ## @EncodeBinaryToBinaryA
	.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	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	cmpq	%rdx, (%r8)
	jge	LBB0_3
## %bb.2:
	movq	_ERROR_INSUFFICIENT_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_6
LBB0_5:
	movq	%rdx, (%r8)
	jmp	LBB0_6
LBB0_3:
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.4:
	movq	%rdi, %rsi
	movq	%rcx, %rdi
	callq	_memcpy
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_ERROR_INSUFFICIENT_BUFFER,4,2  ## @ERROR_INSUFFICIENT_BUFFER
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_EncodeBinaryToBinaryA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EncodeBinaryToBinaryA
_EncodeBinaryToBinaryA:                 ; @EncodeBinaryToBinaryA
	.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, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	cbz	x3, LBB0_3
; %bb.1:
	ldr	x8, [x4]
	cmp	x8, x2
	b.ge	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _ERROR_INSUFFICIENT_BUFFER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR_INSUFFICIENT_BUFFER@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_SetLastError
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
	b	LBB0_6
LBB0_3:
	str	x2, [x4]
	b	LBB0_6
LBB0_4:
	cbz	x2, LBB0_6
; %bb.5:
	mov	x1, x0
	mov	x0, x3
	bl	_memcpy
LBB0_6:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_ERROR_INSUFFICIENT_BUFFER,4,2  ; @ERROR_INSUFFICIENT_BUFFER
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_EncodeBinaryToBinaryA
.subsections_via_symbols
