	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp_build_conf_req_attr
_dpp_build_conf_req_attr:               ## @dpp_build_conf_req_attr
	.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	%rsi, %r13
	movq	%rdi, %r15
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	(%r15), %rdi
	movq	8(%r15), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rsi
	callq	_random_get_bytes
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
LBB0_2:
	movq	%r14, %rdi
	callq	_wpabuf_free
	movq	%r13, %rdi
	callq	_wpabuf_free
	xorl	%r13d, %r13d
LBB0_7:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%r14), %edi
	movq	(%r15), %rdx
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %ecx
	callq	_wpa_hexdump
	movq	%r13, %rdi
	callq	_os_strlen
	movq	%rax, %r12
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdx
	movq	%rax, %rcx
	callq	_wpa_hexdump_ascii
	leaq	(%rbx,%r12), %r13
	leaq	(%rbx,%r12), %rdi
	addq	$8, %rdi
	callq	_wpabuf_alloc
	movq	%rax, %r14
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%r13), %rdi
	addq	$12, %rdi
	callq	_wpabuf_alloc
	movq	%rax, %r13
	testq	%r14, %r14
	je	LBB0_2
## %bb.4:
	testq	%r13, %r13
	je	LBB0_2
## %bb.5:
	movq	_DPP_ATTR_ENROLLEE_NONCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wpabuf_put_le16
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_wpabuf_put_le16
	movq	(%r15), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_wpabuf_put_data
	movq	_DPP_ATTR_CONFIG_ATTR_OBJ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wpabuf_put_le16
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_wpabuf_put_le16
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_wpabuf_put_data
	movq	_DPP_ATTR_WRAPPED_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_wpabuf_put_le16
	movq	%r14, %rdi
	callq	_wpabuf_len
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %rbx
	addl	(%rbx), %eax
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_wpabuf_put_le16
	movq	%r14, %rdi
	callq	_wpabuf_len
	addl	(%rbx), %eax
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_wpabuf_put
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdx
	callq	_wpa_hexdump_buf
	movl	16(%r15), %r12d
	movq	8(%r15), %rax
	movl	8(%rax), %r15d
	movq	%r14, %rdi
	callq	_wpabuf_head
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_wpabuf_len
	movl	%r12d, %edi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r12
	pushq	$0
	callq	_aes_siv_encrypt
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_2
## %bb.6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movq	%r14, %rdi
	callq	_wpabuf_len
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edi
	movq	%r12, %rdx
	movl	%eax, %ecx
	callq	_wpa_hexdump
	movl	(%r15), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdx
	callq	_wpa_hexdump_buf
	movq	%r14, %rdi
	callq	_wpabuf_free
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DPP: Build configuration request"

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"DPP: Failed to generate E-nonce"

L_.str.2:                               ## @.str.2
	.asciz	"DPP: E-nonce"

L_.str.3:                               ## @.str.3
	.asciz	"DPP: configAttr JSON"

	.comm	_AES_BLOCK_SIZE,4,2             ## @AES_BLOCK_SIZE
	.comm	_DPP_ATTR_ENROLLEE_NONCE,4,2    ## @DPP_ATTR_ENROLLEE_NONCE
	.comm	_DPP_ATTR_CONFIG_ATTR_OBJ,4,2   ## @DPP_ATTR_CONFIG_ATTR_OBJ
	.comm	_DPP_ATTR_WRAPPED_DATA,4,2      ## @DPP_ATTR_WRAPPED_DATA
L_.str.4:                               ## @.str.4
	.asciz	"DPP: AES-SIV cleartext"

L_.str.5:                               ## @.str.5
	.asciz	"DPP: AES-SIV ciphertext"

L_.str.6:                               ## @.str.6
	.asciz	"DPP: Configuration Request frame attributes"

	.comm	_DPP_STATUS_OK,4,2              ## @DPP_STATUS_OK
	.comm	_DPP_TEST_AFTER_WRAPPED_DATA_CONF_REQ,8,3 ## @DPP_TEST_AFTER_WRAPPED_DATA_CONF_REQ
	.comm	_DPP_TEST_INVALID_E_NONCE_CONF_REQ,8,3 ## @DPP_TEST_INVALID_E_NONCE_CONF_REQ
	.comm	_DPP_TEST_NO_CONFIG_ATTR_OBJ_CONF_REQ,8,3 ## @DPP_TEST_NO_CONFIG_ATTR_OBJ_CONF_REQ
	.comm	_DPP_TEST_NO_E_NONCE_CONF_REQ,8,3 ## @DPP_TEST_NO_E_NONCE_CONF_REQ
	.comm	_DPP_TEST_NO_WRAPPED_DATA_CONF_REQ,8,3 ## @DPP_TEST_NO_WRAPPED_DATA_CONF_REQ
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.comm	_dpp_test,8,3                   ## @dpp_test
	.no_dead_strip	_dpp_build_conf_req_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp_build_conf_req_attr
_dpp_build_conf_req_attr:               ; @dpp_build_conf_req_attr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x25, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldp	x0, x8, [x21]
	ldr	x23, [x8]
	mov	x1, x23
	bl	_random_get_bytes
	cbz	x0, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	x19, #0
	mov	x20, #0
	b	LBB0_5
LBB0_2:
	ldr	w0, [x25]
	ldr	x2, [x21]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x3, x23
	bl	_wpa_hexdump
	mov	x0, x22
	bl	_os_strlen
	mov	x24, x0
	ldr	w0, [x25]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x22
	mov	x3, x24
	bl	_wpa_hexdump_ascii
	add	x8, x23, x24
	add	x19, x8, #8
	mov	x0, x19
	bl	_wpabuf_alloc
	mov	x20, x0
Lloh13:
	adrp	x26, _AES_BLOCK_SIZE@GOTPAGE
Lloh14:
	ldr	x26, [x26, _AES_BLOCK_SIZE@GOTPAGEOFF]
	ldrsw	x8, [x26]
	add	x8, x19, x8
	add	x0, x8, #4
	bl	_wpabuf_alloc
	mov	x19, x0
	cmp	x20, #0
	ccmp	x0, #0, #4, ne
	b.eq	LBB0_5
; %bb.3:
Lloh15:
	adrp	x8, _DPP_ATTR_ENROLLEE_NONCE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DPP_ATTR_ENROLLEE_NONCE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wpabuf_put_le16
	mov	x0, x20
	mov	x1, x23
	bl	_wpabuf_put_le16
	ldr	x1, [x21]
	mov	x0, x20
	mov	x2, x23
	bl	_wpabuf_put_data
Lloh18:
	adrp	x8, _DPP_ATTR_CONFIG_ATTR_OBJ@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DPP_ATTR_CONFIG_ATTR_OBJ@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wpabuf_put_le16
	mov	x0, x20
	mov	x1, x24
	bl	_wpabuf_put_le16
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	bl	_wpabuf_put_data
Lloh21:
	adrp	x8, _DPP_ATTR_WRAPPED_DATA@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DPP_ATTR_WRAPPED_DATA@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wpabuf_put_le16
	mov	x0, x20
	bl	_wpabuf_len
	ldr	w8, [x26]
	add	w1, w8, w0
	mov	x0, x19
	bl	_wpabuf_put_le16
	mov	x0, x20
	bl	_wpabuf_len
	ldr	w8, [x26]
	add	w1, w8, w0
	mov	x0, x19
	bl	_wpabuf_put
	mov	x22, x0
	ldr	w0, [x25]
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x20
	bl	_wpa_hexdump_buf
	ldr	w23, [x21, #16]
	ldr	x8, [x21, #8]
	ldr	w21, [x8, #8]
	mov	x0, x20
	bl	_wpabuf_head
	mov	x24, x0
	mov	x0, x20
	bl	_wpabuf_len
	mov	x3, x0
	mov	x0, x23
	mov	x1, x21
	mov	x2, x24
	mov	w4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, x22
	bl	_aes_siv_encrypt
	tbnz	x0, #63, LBB0_5
; %bb.4:
	ldr	w21, [x25]
	mov	x0, x20
	bl	_wpabuf_len
	ldr	w8, [x26]
	add	w3, w8, w0
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_wpa_hexdump
	ldr	w0, [x25]
Lloh28:
	adrp	x1, l_.str.6@PAGE
Lloh29:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x19
	bl	_wpa_hexdump_buf
	mov	x0, x20
	bl	_wpabuf_free
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_wpabuf_free
	mov	x0, x19
	bl	_wpabuf_free
	mov	x19, #0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DPP: Build configuration request"

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"DPP: Failed to generate E-nonce"

l_.str.2:                               ; @.str.2
	.asciz	"DPP: E-nonce"

l_.str.3:                               ; @.str.3
	.asciz	"DPP: configAttr JSON"

	.comm	_AES_BLOCK_SIZE,4,2             ; @AES_BLOCK_SIZE
	.comm	_DPP_ATTR_ENROLLEE_NONCE,4,2    ; @DPP_ATTR_ENROLLEE_NONCE
	.comm	_DPP_ATTR_CONFIG_ATTR_OBJ,4,2   ; @DPP_ATTR_CONFIG_ATTR_OBJ
	.comm	_DPP_ATTR_WRAPPED_DATA,4,2      ; @DPP_ATTR_WRAPPED_DATA
l_.str.4:                               ; @.str.4
	.asciz	"DPP: AES-SIV cleartext"

l_.str.5:                               ; @.str.5
	.asciz	"DPP: AES-SIV ciphertext"

l_.str.6:                               ; @.str.6
	.asciz	"DPP: Configuration Request frame attributes"

	.comm	_DPP_STATUS_OK,4,2              ; @DPP_STATUS_OK
	.comm	_DPP_TEST_AFTER_WRAPPED_DATA_CONF_REQ,8,3 ; @DPP_TEST_AFTER_WRAPPED_DATA_CONF_REQ
	.comm	_DPP_TEST_INVALID_E_NONCE_CONF_REQ,8,3 ; @DPP_TEST_INVALID_E_NONCE_CONF_REQ
	.comm	_DPP_TEST_NO_CONFIG_ATTR_OBJ_CONF_REQ,8,3 ; @DPP_TEST_NO_CONFIG_ATTR_OBJ_CONF_REQ
	.comm	_DPP_TEST_NO_E_NONCE_CONF_REQ,8,3 ; @DPP_TEST_NO_E_NONCE_CONF_REQ
	.comm	_DPP_TEST_NO_WRAPPED_DATA_CONF_REQ,8,3 ; @DPP_TEST_NO_WRAPPED_DATA_CONF_REQ
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.comm	_dpp_test,8,3                   ; @dpp_test
	.no_dead_strip	_dpp_build_conf_req_attr
.subsections_via_symbols
