	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_release_buffer_set         ## -- Begin function gss_release_buffer_set
	.p2align	4, 0x90
_gss_release_buffer_set:                ## @gss_release_buffer_set
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, (%rdi)
	movq	(%rsi), %rax
	movq	_GSS_C_NO_BUFFER_SET@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r12
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	xorl	%r13d, %r13d
	leaq	-48(%rbp), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rsi
	addq	%r13, %rsi
	movq	%r14, %rdi
	callq	_gss_release_buffer
	incq	%rbx
	movq	(%r12), %rax
	addq	$16, %r13
	cmpq	(%rax), %rbx
	jb	LBB0_3
LBB0_4:
	movq	8(%rax), %rdi
	callq	_free
	movq	(%r12), %rax
	movq	$0, 8(%rax)
	movq	(%r12), %rdi
	movq	$0, (%rdi)
	callq	_free
	movq	(%r15), %rax
	movq	%rax, (%r12)
LBB0_5:
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_C_NO_BUFFER_SET,8,3        ## @GSS_C_NO_BUFFER_SET
	.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_release_buffer_set         ; -- Begin function gss_release_buffer_set
	.p2align	2
_gss_release_buffer_set:                ; @gss_release_buffer_set
	.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
	str	xzr, [x0]
	ldr	x8, [x1]
Lloh0:
	adrp	x20, _GSS_C_NO_BUFFER_SET@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GSS_C_NO_BUFFER_SET@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x1
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.2:
	mov	x21, #0
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	add	x1, x8, x21
	add	x0, sp, #8
	bl	_gss_release_buffer
	add	x22, x22, #1
	ldr	x8, [x19]
	ldr	x9, [x8]
	add	x21, x21, #16
	cmp	x22, x9
	b.lo	LBB0_3
LBB0_4:
	ldr	x0, [x8, #8]
	bl	_free
	ldr	x8, [x19]
	str	xzr, [x8, #8]
	ldr	x0, [x19]
	str	xzr, [x0]
	bl	_free
	ldr	x8, [x20]
	str	x8, [x19]
LBB0_5:
Lloh2:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_C_NO_BUFFER_SET,8,3        ; @GSS_C_NO_BUFFER_SET
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
.subsections_via_symbols
