	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_p2ps_get_feat_cap_str
_wpas_p2ps_get_feat_cap_str:            ## @wpas_p2ps_get_feat_cap_str
	.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
	movb	$0, (%rdi)
	cmpq	$16, %rsi
	jb	LBB0_4
## %bb.1:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.2:
	movq	%rcx, %r15
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	_wpas_p2ps_get_feat_cap_str.pref(%rip), %rsi
	movl	$14, %edx
	callq	_os_memcpy
	addq	$13, %rbx
	addq	$-13, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_wpa_snprintf_hex
	addl	%r15d, %r15d
	cmpl	%r15d, %eax
	jne	LBB0_5
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_wpas_p2ps_get_feat_cap_str.pref:       ## @wpas_p2ps_get_feat_cap_str.pref
	.asciz	" feature_cap="

	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"P2PS feature_cap bytes truncated"

	.no_dead_strip	_wpas_p2ps_get_feat_cap_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_p2ps_get_feat_cap_str
_wpas_p2ps_get_feat_cap_str:            ; @wpas_p2ps_get_feat_cap_str
	.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
	strb	wzr, [x0]
	cmp	x1, #16
	b.lo	LBB0_4
; %bb.1:
	mov	x20, x2
	cbz	x2, LBB0_4
; %bb.2:
	mov	x19, x3
	cbz	x3, LBB0_4
; %bb.3:
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x1, _wpas_p2ps_get_feat_cap_str.pref@PAGE
Lloh1:
	add	x1, x1, _wpas_p2ps_get_feat_cap_str.pref@PAGEOFF
	mov	w2, #14
	bl	_os_memcpy
	add	x0, x22, #13
	sub	x1, x21, #13
	mov	x2, x20
	mov	x3, x19
	bl	_wpa_snprintf_hex
	cmp	w0, w19, lsl #1
	b.ne	LBB0_5
LBB0_4:
	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
LBB0_5:
Lloh2:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	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
	b	_wpa_printf
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_wpas_p2ps_get_feat_cap_str.pref:       ; @wpas_p2ps_get_feat_cap_str.pref
	.asciz	" feature_cap="

	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"P2PS feature_cap bytes truncated"

	.no_dead_strip	_wpas_p2ps_get_feat_cap_str
.subsections_via_symbols
