	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp_auth_build_resp_status
_dpp_auth_build_resp_status:            ## @dpp_auth_build_resp_status
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r14d
	cmpq	$0, 40(%rdi)
	je	LBB0_6
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	32(%rbx), %rax
	movq	40(%rbx), %rcx
	movq	(%rcx), %r8
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	(%rax), %r9
	jmp	LBB0_4
LBB0_2:
	xorl	%r9d, %r9d
LBB0_4:
	movq	24(%rbx), %rax
	movl	(%rax), %ecx
	movl	16(%rbx), %eax
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	pushq	%rax
	pushq	$0
	pushq	$0
	pushq	(%rbx)
	pushq	$0
	callq	_dpp_auth_build_resp
	addq	$48, %rsp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %r15
	movq	8(%rbx), %rdi
	callq	_wpabuf_free
	movq	%r15, 8(%rbx)
	xorl	%r14d, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DPP: Build Authentication Response"

	.comm	_DPP_TEST_INVALID_I_BOOTSTRAP_KEY_HASH_AUTH_RESP,8,3 ## @DPP_TEST_INVALID_I_BOOTSTRAP_KEY_HASH_AUTH_RESP
	.comm	_DPP_TEST_INVALID_R_BOOTSTRAP_KEY_HASH_AUTH_RESP,8,3 ## @DPP_TEST_INVALID_R_BOOTSTRAP_KEY_HASH_AUTH_RESP
	.comm	_DPP_TEST_NO_I_BOOTSTRAP_KEY_HASH_AUTH_RESP,8,3 ## @DPP_TEST_NO_I_BOOTSTRAP_KEY_HASH_AUTH_RESP
	.comm	_DPP_TEST_NO_I_NONCE_AUTH_RESP,8,3 ## @DPP_TEST_NO_I_NONCE_AUTH_RESP
	.comm	_DPP_TEST_NO_R_BOOTSTRAP_KEY_HASH_AUTH_RESP,8,3 ## @DPP_TEST_NO_R_BOOTSTRAP_KEY_HASH_AUTH_RESP
	.comm	_DPP_TEST_NO_STATUS_AUTH_RESP,8,3 ## @DPP_TEST_NO_STATUS_AUTH_RESP
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.comm	_SHA256_MAC_LEN,4,2             ## @SHA256_MAC_LEN
	.comm	_dpp_test,8,3                   ## @dpp_test
	.no_dead_strip	_dpp_auth_build_resp_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp_auth_build_resp_status
_dpp_auth_build_resp_status:            ; @dpp_auth_build_resp_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldp	x8, x9, [x19, #32]
	ldr	x4, [x9]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x5, [x8]
	b	LBB0_4
LBB0_3:
	mov	x5, #0
LBB0_4:
	ldr	x7, [x19]
	ldr	x8, [x19, #24]
	ldr	w3, [x8]
	ldr	w8, [x19, #16]
	stp	wzr, w8, [sp, #8]
	str	xzr, [sp]
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	mov	x6, #0
	bl	_dpp_auth_build_resp
	cbz	x0, LBB0_6
; %bb.5:
	mov	x20, x0
	ldr	x0, [x19, #8]
	bl	_wpabuf_free
	mov	w0, #0
	str	x20, [x19, #8]
	b	LBB0_7
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DPP: Build Authentication Response"

	.comm	_DPP_TEST_INVALID_I_BOOTSTRAP_KEY_HASH_AUTH_RESP,8,3 ; @DPP_TEST_INVALID_I_BOOTSTRAP_KEY_HASH_AUTH_RESP
	.comm	_DPP_TEST_INVALID_R_BOOTSTRAP_KEY_HASH_AUTH_RESP,8,3 ; @DPP_TEST_INVALID_R_BOOTSTRAP_KEY_HASH_AUTH_RESP
	.comm	_DPP_TEST_NO_I_BOOTSTRAP_KEY_HASH_AUTH_RESP,8,3 ; @DPP_TEST_NO_I_BOOTSTRAP_KEY_HASH_AUTH_RESP
	.comm	_DPP_TEST_NO_I_NONCE_AUTH_RESP,8,3 ; @DPP_TEST_NO_I_NONCE_AUTH_RESP
	.comm	_DPP_TEST_NO_R_BOOTSTRAP_KEY_HASH_AUTH_RESP,8,3 ; @DPP_TEST_NO_R_BOOTSTRAP_KEY_HASH_AUTH_RESP
	.comm	_DPP_TEST_NO_STATUS_AUTH_RESP,8,3 ; @DPP_TEST_NO_STATUS_AUTH_RESP
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.comm	_SHA256_MAC_LEN,4,2             ; @SHA256_MAC_LEN
	.comm	_dpp_test,8,3                   ; @dpp_test
	.no_dead_strip	_dpp_auth_build_resp_status
.subsections_via_symbols
