	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_buf_add_channel_list       ## -- Begin function p2p_buf_add_channel_list
	.p2align	4, 0x90
_p2p_buf_add_channel_list:              ## @p2p_buf_add_channel_list
	.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	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	_P2P_ATTR_CHANNEL_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wpabuf_put_u8
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_wpabuf_put
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$3, %edx
	callq	_wpabuf_put_data
	cmpq	$0, (%r15)
	je	LBB0_3
## %bb.1:
	movl	$8, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %r14
	movl	-8(%r14,%rbx), %esi
	movq	%r13, %rdi
	callq	_wpabuf_put_u8
	movl	-4(%r14,%rbx), %esi
	movq	%r13, %rdi
	callq	_wpabuf_put_u8
	movq	(%r14,%rbx), %rsi
	movl	-4(%r14,%rbx), %edx
	movq	%r13, %rdi
	callq	_wpabuf_put_data
	incq	%r12
	addq	$16, %rbx
	cmpq	(%r15), %r12
	jb	LBB0_2
LBB0_3:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	subq	%rbx, %rax
	shrq	$2, %rax
	leal	-2(%rax), %esi
	movq	%rbx, %rdi
	callq	_WPA_PUT_LE16
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	8(%rbx), %r12
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put
	subq	%rbx, %rax
	shrq	$2, %rax
	leal	-2(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movq	%r12, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_hexdump                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_P2P_ATTR_CHANNEL_LIST,4,2      ## @P2P_ATTR_CHANNEL_LIST
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"P2P: * Channel List"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_buf_add_channel_list       ; -- Begin function p2p_buf_add_channel_list
	.p2align	2
_p2p_buf_add_channel_list:              ; @p2p_buf_add_channel_list
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _P2P_ATTR_CHANNEL_LIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P2P_ATTR_CHANNEL_LIST@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_wpabuf_put_u8
	mov	x0, x19
	mov	w1, #2
	bl	_wpabuf_put
	mov	x20, x0
	mov	x0, x19
	mov	x1, x22
	mov	w2, #3
	bl	_wpabuf_put_data
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x22, #0
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	add	x24, x8, x22
	ldr	w1, [x24]
	mov	x0, x19
	bl	_wpabuf_put_u8
	ldr	w1, [x24, #4]
	mov	x0, x19
	bl	_wpabuf_put_u8
	ldr	x1, [x24, #8]
	ldr	w2, [x24, #4]
	mov	x0, x19
	bl	_wpabuf_put_data
	add	x23, x23, #1
	ldr	x8, [x21]
	add	x22, x22, #16
	cmp	x23, x8
	b.lo	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	bl	_wpabuf_put
	sub	x8, x0, x20
	lsr	x8, x8, #2
	sub	w1, w8, #2
	mov	x0, x20
	bl	_WPA_PUT_LE16
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	add	x22, x20, #8
	mov	x0, x19
	mov	w1, #0
	bl	_wpabuf_put
	sub	x8, x0, x20
	lsr	x8, x8, #2
	sub	w3, w8, #2
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	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_hexdump
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_P2P_ATTR_CHANNEL_LIST,4,2      ; @P2P_ATTR_CHANNEL_LIST
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"P2P: * Channel List"

.subsections_via_symbols
