	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_alloc_msg                  ## -- Begin function dpp_alloc_msg
	.p2align	4, 0x90
_dpp_alloc_msg:                         ## @dpp_alloc_msg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	leal	8(%rsi), %edi
	callq	_wpabuf_alloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_WLAN_ACTION_PUBLIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put_u8
	movq	_WLAN_PA_VENDOR_SPECIFIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put_u8
	movq	_OUI_WFA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put_be24
	movq	_DPP_OUI_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put_u8
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_wpabuf_put_u8
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_wpabuf_put_u8
LBB0_2:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_ACTION_PUBLIC,4,2         ## @WLAN_ACTION_PUBLIC
	.comm	_WLAN_PA_VENDOR_SPECIFIC,4,2    ## @WLAN_PA_VENDOR_SPECIFIC
	.comm	_OUI_WFA,4,2                    ## @OUI_WFA
	.comm	_DPP_OUI_TYPE,4,2               ## @DPP_OUI_TYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_alloc_msg                  ; -- Begin function dpp_alloc_msg
	.p2align	2
_dpp_alloc_msg:                         ; @dpp_alloc_msg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	w0, w1, #8
	bl	_wpabuf_alloc
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _WLAN_ACTION_PUBLIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_ACTION_PUBLIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wpabuf_put_u8
Lloh3:
	adrp	x8, _WLAN_PA_VENDOR_SPECIFIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WLAN_PA_VENDOR_SPECIFIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wpabuf_put_u8
Lloh6:
	adrp	x8, _OUI_WFA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OUI_WFA@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wpabuf_put_be24
Lloh9:
	adrp	x8, _DPP_OUI_TYPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DPP_OUI_TYPE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wpabuf_put_u8
	mov	x0, x20
	mov	w1, #1
	bl	_wpabuf_put_u8
	mov	x0, x20
	mov	x1, x19
	bl	_wpabuf_put_u8
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_ACTION_PUBLIC,4,2         ; @WLAN_ACTION_PUBLIC
	.comm	_WLAN_PA_VENDOR_SPECIFIC,4,2    ; @WLAN_PA_VENDOR_SPECIFIC
	.comm	_OUI_WFA,4,2                    ; @OUI_WFA
	.comm	_DPP_OUI_TYPE,4,2               ; @DPP_OUI_TYPE
.subsections_via_symbols
