	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gss_copy_buffer               ## -- Begin function _gss_copy_buffer
	.p2align	4, 0x90
__gss_copy_buffer:                      ## @_gss_copy_buffer
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rsi), %rbx
	movq	$0, (%rdi)
	movq	%rbx, %rdi
	callq	_malloc
	movl	%eax, 8(%r14)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, (%r14)
	movl	8(%r15), %esi
	movl	%eax, %edi
	movq	%rbx, %rdx
	callq	_memcpy
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movq	$0, (%r14)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gss_copy_buffer               ; -- Begin function _gss_copy_buffer
	.p2align	2
__gss_copy_buffer:                      ; @_gss_copy_buffer
	.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, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x20, [x1]
	str	xzr, [x0]
	mov	x0, x20
	bl	_malloc
	str	w0, [x19, #8]
	cbz	w0, LBB0_2
; %bb.1:
	str	x20, [x19]
	ldr	w1, [x21, #8]
	mov	x2, x20
	bl	_memcpy
Lloh0:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x22]
	str	xzr, [x19]
Lloh5:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
LBB0_3:
	ldr	x0, [x8]
	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	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
.subsections_via_symbols
