	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_buf_add_group_info         ## -- Begin function p2p_buf_add_group_info
	.p2align	4, 0x90
_p2p_buf_add_group_info:                ## @p2p_buf_add_group_info
	.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
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_p2p_dbg
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put
	movq	%rax, %r15
	movq	_P2P_ATTR_GROUP_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wpabuf_put_u8
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put_le16
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movl	$1, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rbx
	incl	%r13d
	testq	%rbx, %rbx
	je	LBB0_5
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_p2p_client_info
	testl	%r12d, %r12d
	js	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r12d, %r13d
	jl	LBB0_2
LBB0_5:
	leaq	4(%r15), %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put
	subq	%r15, %rax
	shrq	$2, %rax
	leal	-3(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WPA_PUT_LE16                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"* P2P Group Info"

	.comm	_P2P_ATTR_GROUP_INFO,4,2        ## @P2P_ATTR_GROUP_INFO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_buf_add_group_info         ; -- Begin function p2p_buf_add_group_info
	.p2align	2
_p2p_buf_add_group_info:                ; @p2p_buf_add_group_info
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_p2p_dbg
	mov	x0, x19
	mov	w1, #0
	bl	_wpabuf_put
	mov	x21, x0
Lloh2:
	adrp	x8, _P2P_ATTR_GROUP_INFO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _P2P_ATTR_GROUP_INFO@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wpabuf_put_u8
	mov	x0, x19
	mov	w1, #0
	bl	_wpabuf_put_le16
	ldr	x22, [x22]
	cbz	x22, LBB0_5
; %bb.1:
	mov	w23, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x22]
	add	w23, w23, #1
	cbz	x22, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_p2p_client_info
	tbnz	w20, #31, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, w20
	b.lt	LBB0_2
LBB0_5:
	add	x20, x21, #4
	mov	x0, x19
	mov	w1, #0
	bl	_wpabuf_put
	sub	x8, x0, x21
	lsr	x8, x8, #2
	sub	w1, w8, #3
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_WPA_PUT_LE16
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"* P2P Group Info"

	.comm	_P2P_ATTR_GROUP_INFO,4,2        ; @P2P_ATTR_GROUP_INFO
.subsections_via_symbols
