	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_auth_conf_rx               ## -- Begin function dpp_auth_conf_rx
	.p2align	4, 0x90
_dpp_auth_conf_rx:                      ## @dpp_auth_conf_rx
	.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
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_DPP_MAX_HASH_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	cmpq	$0, 40(%r15)
	je	LBB0_1
LBB0_2:
	leaq	L_.str(%rip), %rsi
LBB0_3:
	movq	%r15, %rdi
	callq	_dpp_auth_fail
	movl	$-1, %ebx
LBB0_45:
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_47
## %bb.46:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpq	$0, 24(%r15)
	je	LBB0_2
## %bb.4:
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	$0, 32(%r15)
	movq	_DPP_ATTR_WRAPPED_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-112(%rbp), %rcx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_dpp_get_attr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %rbx
	movq	-112(%rbp), %rcx
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jge	LBB0_7
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_7:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_hexdump
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	subq	%r12, %rbx
	addq	$-32, %rbx
	sarq	$3, %rbx
	movq	_DPP_ATTR_R_BOOTSTRAP_KEY_HASH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-160(%rbp), %rcx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_dpp_get_attr
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %r14
	movq	-160(%rbp), %rcx
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_9
## %bb.11:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdx
	callq	_wpa_hexdump
	movq	24(%r15), %rax
	movq	(%rax), %rsi
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r14, %rdi
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r15), %rax
	movq	(%rax), %rdx
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.5(%rip), %rsi
	callq	_wpa_hexdump
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.3(%rip), %rsi
LBB0_10:
	movq	%r15, %rdi
	callq	_dpp_auth_fail
	movl	$-1, %ebx
LBB0_44:
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_45
LBB0_13:
	movq	_DPP_ATTR_I_BOOTSTRAP_KEY_HASH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-152(%rbp), %rcx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_dpp_get_attr
	testq	%rax, %rax
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_19
## %bb.14:
	movq	%rax, %rdx
	movq	-152(%rbp), %rcx
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_15
## %bb.16:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	callq	_wpa_hexdump
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	(%rax), %rsi
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_21
LBB0_18:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_3
LBB0_19:
	cmpq	$0, 16(%r15)
	je	LBB0_21
## %bb.20:
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_3
LBB0_15:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_3
LBB0_21:
	movq	_DPP_ATTR_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-144(%rbp), %rcx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_dpp_get_attr
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	cmpq	$0, -144(%rbp)
	jle	LBB0_23
## %bb.24:
	movq	%rax, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rdx
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	(%r14), %rax
	movq	_DPP_STATUS_NOT_COMPATIBLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_26
## %bb.25:
	movq	_DPP_STATUS_AUTH_FAILURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_26
## %bb.27:
	movq	_DPP_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_28
## %bb.29:
	movq	%r13, -64(%rbp)
	movq	_DPP_HDR_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, -80(%rbp)
	movq	%r12, -56(%rbp)
	movq	%rbx, -72(%rbp)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.14(%rip), %rsi
	movq	%r13, %rdx
	callq	_wpa_hexdump
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str.15(%rip), %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_wpa_hexdump
	movl	(%r13), %edi
	movq	-112(%rbp), %rcx
	leaq	L_.str.16(%rip), %rsi
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdx
	callq	_wpa_hexdump
	movq	-112(%rbp), %rdi
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %rax
	subq	(%rax), %rdi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	callq	_os_malloc
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_45
## %bb.30:
	movq	%rax, %r13
	movl	8(%r15), %edi
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movq	-112(%rbp), %rcx
	leaq	-80(%rbp), %rax
	leaq	-64(%rbp), %r9
	movq	%r12, %rdx
	movl	$2, %r8d
	pushq	%r13
	pushq	%rax
	callq	_aes_siv_decrypt
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_31
## %bb.35:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.18(%rip), %rsi
	movq	%r13, %rdx
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rcx
	callq	_wpa_hexdump
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_dpp_check_attrs
	testq	%rax, %rax
	js	LBB0_36
## %bb.37:
	movq	_DPP_ATTR_I_AUTH_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-120(%rbp), %rcx
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_dpp_get_attr
	leaq	L_.str.20(%rip), %rsi
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_38
## %bb.39:
	movq	-120(%rbp), %rcx
	movq	(%r15), %rax
	cmpq	(%rax), %rcx
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_33
## %bb.40:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.21(%rip), %rsi
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	callq	_wpa_hexdump
	movq	%r15, %rdi
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	callq	_dpp_gen_i_auth
	testq	%rax, %rax
	js	LBB0_34
## %bb.41:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-120(%rbp), %rcx
	leaq	L_.str.22(%rip), %rsi
	movq	-136(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdx
	callq	_wpa_hexdump
	movq	-120(%rbp), %rdx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_43
## %bb.42:
	leaq	L_.str.23(%rip), %rsi
LBB0_38:
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-104(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_32
LBB0_23:
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_10
LBB0_26:
	movq	-112(%rbp), %r9
	subq	$8, %rsp
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	pushq	%rax
	callq	_dpp_auth_conf_rx_failure
	addq	$16, %rsp
	movl	%eax, %ebx
	jmp	LBB0_44
LBB0_28:
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_3
LBB0_31:
	leaq	L_.str.17(%rip), %rsi
LBB0_32:
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_36:
	leaq	L_.str.19(%rip), %rsi
LBB0_33:
	movq	%r15, %rdi
	callq	_dpp_auth_fail
LBB0_34:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_bin_clear_free
	jmp	LBB0_45
LBB0_43:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_bin_clear_free
	movq	%r15, %rdi
	callq	_dpp_auth_success
	xorl	%ebx, %ebx
	jmp	LBB0_44
LBB0_47:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DPP_MAX_HASH_LEN,4,2           ## @DPP_MAX_HASH_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected Authentication Confirm"

	.comm	_DPP_ATTR_WRAPPED_DATA,4,2      ## @DPP_ATTR_WRAPPED_DATA
	.comm	_AES_BLOCK_SIZE,8,3             ## @AES_BLOCK_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"Missing or invalid required Wrapped Data attribute"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.2:                               ## @.str.2
	.asciz	"DPP: Wrapped data"

	.comm	_DPP_ATTR_R_BOOTSTRAP_KEY_HASH,4,2 ## @DPP_ATTR_R_BOOTSTRAP_KEY_HASH
	.comm	_SHA256_MAC_LEN,8,3             ## @SHA256_MAC_LEN
L_.str.3:                               ## @.str.3
	.asciz	"Missing or invalid required Responder Bootstrapping Key Hash attribute"

L_.str.4:                               ## @.str.4
	.asciz	"DPP: Responder Bootstrapping Key Hash"

L_.str.5:                               ## @.str.5
	.asciz	"DPP: Expected Responder Bootstrapping Key Hash"

L_.str.6:                               ## @.str.6
	.asciz	"Responder Bootstrapping Key Hash mismatch"

	.comm	_DPP_ATTR_I_BOOTSTRAP_KEY_HASH,4,2 ## @DPP_ATTR_I_BOOTSTRAP_KEY_HASH
L_.str.7:                               ## @.str.7
	.asciz	"Invalid Initiator Bootstrapping Key Hash attribute"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.8:                               ## @.str.8
	.asciz	"DPP: Initiator Bootstrapping Key Hash"

L_.str.9:                               ## @.str.9
	.asciz	"Initiator Bootstrapping Key Hash mismatch"

L_.str.10:                              ## @.str.10
	.asciz	"Missing Initiator Bootstrapping Key Hash attribute"

	.comm	_DPP_ATTR_STATUS,4,2            ## @DPP_ATTR_STATUS
L_.str.11:                              ## @.str.11
	.asciz	"Missing or invalid required DPP Status attribute"

L_.str.12:                              ## @.str.12
	.asciz	"DPP: Status %u"

	.comm	_DPP_STATUS_NOT_COMPATIBLE,8,3  ## @DPP_STATUS_NOT_COMPATIBLE
	.comm	_DPP_STATUS_AUTH_FAILURE,8,3    ## @DPP_STATUS_AUTH_FAILURE
	.comm	_DPP_STATUS_OK,8,3              ## @DPP_STATUS_OK
L_.str.13:                              ## @.str.13
	.asciz	"Authentication failed"

	.comm	_DPP_HDR_LEN,8,3                ## @DPP_HDR_LEN
L_.str.14:                              ## @.str.14
	.asciz	"DDP: AES-SIV AD[0]"

L_.str.15:                              ## @.str.15
	.asciz	"DDP: AES-SIV AD[1]"

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

L_.str.17:                              ## @.str.17
	.asciz	"AES-SIV decryption failed"

L_.str.18:                              ## @.str.18
	.asciz	"DPP: AES-SIV cleartext"

L_.str.19:                              ## @.str.19
	.asciz	"Invalid attribute in unwrapped data"

	.comm	_DPP_ATTR_I_AUTH_TAG,4,2        ## @DPP_ATTR_I_AUTH_TAG
L_.str.20:                              ## @.str.20
	.asciz	"Missing or invalid Initiator Authenticating Tag"

L_.str.21:                              ## @.str.21
	.asciz	"DPP: Received Initiator Authenticating Tag"

L_.str.22:                              ## @.str.22
	.asciz	"DPP: Calculated Initiator Authenticating Tag"

L_.str.23:                              ## @.str.23
	.asciz	"Mismatching Initiator Authenticating Tag"

	.comm	_DPP_TEST_STOP_AT_AUTH_CONF,8,3 ## @DPP_TEST_STOP_AT_AUTH_CONF
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.comm	_dpp_test,8,3                   ## @dpp_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_auth_conf_rx               ; -- Begin function dpp_auth_conf_rx
	.p2align	2
_dpp_auth_conf_rx:                      ; @dpp_auth_conf_rx
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #80
	mov	x8, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	mov	x26, sp
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-88]
Lloh3:
	adrp	x9, _DPP_MAX_HASH_LEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DPP_MAX_HASH_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	x12, x9, #3
	mov	x9, x12
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x12, #15
	and	x10, x10, #0xffffffff0
	sub	x20, x9, x10
	mov	sp, x20
	ldr	x9, [x0, #40]
	cbz	x9, LBB0_6
LBB0_1:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x19
	bl	_dpp_auth_fail
LBB0_3:
	mov	w0, #-1
LBB0_4:
	mov	sp, x26
	ldur	x8, [x29, #-88]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_45
; %bb.5:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	x9, [x19, #24]
	cbz	x9, LBB0_1
; %bb.7:
	str	xzr, [x19, #32]
Lloh13:
	adrp	x9, _DPP_ATTR_WRAPPED_DATA@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DPP_ATTR_WRAPPED_DATA@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x9]
	sub	x3, x29, #144
	mov	x0, x22
	mov	x1, x8
	bl	_dpp_get_attr
	cbz	x0, LBB0_9
; %bb.8:
	ldur	x3, [x29, #-144]
Lloh16:
	adrp	x28, _AES_BLOCK_SIZE@GOTPAGE
Lloh17:
	ldr	x28, [x28, _AES_BLOCK_SIZE@GOTPAGEOFF]
	ldr	x8, [x28]
	cmp	x3, x8
	b.ge	LBB0_10
LBB0_9:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_10:
	mov	x21, x0
Lloh20:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump
	sub	x8, x21, x22
	sub	x8, x8, #32
	asr	x24, x8, #3
Lloh25:
	adrp	x8, _DPP_ATTR_R_BOOTSTRAP_KEY_HASH@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DPP_ATTR_R_BOOTSTRAP_KEY_HASH@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	sub	x3, x29, #128
	mov	x0, x22
	mov	x1, x24
	bl	_dpp_get_attr
	cbz	x0, LBB0_14
; %bb.11:
	ldur	x3, [x29, #-128]
Lloh28:
	adrp	x27, _SHA256_MAC_LEN@GOTPAGE
Lloh29:
	ldr	x27, [x27, _SHA256_MAC_LEN@GOTPAGEOFF]
	ldr	x8, [x27]
	cmp	x3, x8
	b.ne	LBB0_14
; %bb.12:
	mov	x25, x0
Lloh30:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x1, l_.str.4@PAGE
Lloh34:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x25
	bl	_wpa_hexdump
	ldr	x8, [x19, #24]
	ldr	x1, [x8]
	ldr	x2, [x27]
	mov	x0, x25
	bl	_os_memcmp
	cbz	x0, LBB0_15
; %bb.13:
Lloh35:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
	ldr	x2, [x8]
	ldr	x3, [x27]
Lloh38:
	adrp	x1, l_.str.5@PAGE
Lloh39:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_hexdump
Lloh40:
	adrp	x1, l_.str.6@PAGE
Lloh41:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_2
LBB0_14:
Lloh42:
	adrp	x1, l_.str.3@PAGE
Lloh43:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_2
LBB0_15:
Lloh44:
	adrp	x8, _DPP_ATTR_I_BOOTSTRAP_KEY_HASH@GOTPAGE
Lloh45:
	ldr	x8, [x8, _DPP_ATTR_I_BOOTSTRAP_KEY_HASH@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	sub	x3, x29, #136
	mov	x0, x22
	mov	x1, x24
	bl	_dpp_get_attr
	cbz	x0, LBB0_20
; %bb.16:
	ldur	x3, [x29, #-136]
	ldr	x8, [x27]
	cmp	x3, x8
	b.ne	LBB0_22
; %bb.17:
	mov	x25, x0
Lloh47:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh48:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x1, l_.str.8@PAGE
Lloh51:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x25
	bl	_wpa_hexdump
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_19
; %bb.18:
	ldr	x1, [x8]
	ldr	x2, [x27]
	mov	x0, x25
	bl	_os_memcmp
	cbz	x0, LBB0_23
LBB0_19:
Lloh52:
	adrp	x1, l_.str.9@PAGE
Lloh53:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_2
LBB0_20:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_23
; %bb.21:
Lloh54:
	adrp	x1, l_.str.10@PAGE
Lloh55:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_2
LBB0_22:
Lloh56:
	adrp	x1, l_.str.7@PAGE
Lloh57:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_2
LBB0_23:
Lloh58:
	adrp	x8, _DPP_ATTR_STATUS@GOTPAGE
Lloh59:
	ldr	x8, [x8, _DPP_ATTR_STATUS@GOTPAGEOFF]
Lloh60:
	ldr	w2, [x8]
	sub	x3, x29, #152
	mov	x0, x22
	mov	x1, x24
	bl	_dpp_get_attr
	cbz	x0, LBB0_36
; %bb.24:
	ldur	x8, [x29, #-152]
	cmp	x8, #0
	b.le	LBB0_36
; %bb.25:
	mov	x25, x0
Lloh61:
	adrp	x27, _MSG_DEBUG@GOTPAGE
Lloh62:
	ldr	x27, [x27, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x27]
	ldr	x8, [x25]
	str	x8, [sp, #-16]!
Lloh63:
	adrp	x1, l_.str.12@PAGE
Lloh64:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_wpa_printf
	add	sp, sp, #16
	ldr	x6, [x25]
Lloh65:
	adrp	x8, _DPP_STATUS_NOT_COMPATIBLE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _DPP_STATUS_NOT_COMPATIBLE@GOTPAGEOFF]
Lloh67:
	ldr	x8, [x8]
	cmp	x6, x8
	b.eq	LBB0_37
; %bb.26:
Lloh68:
	adrp	x8, _DPP_STATUS_AUTH_FAILURE@GOTPAGE
Lloh69:
	ldr	x8, [x8, _DPP_STATUS_AUTH_FAILURE@GOTPAGEOFF]
Lloh70:
	ldr	x8, [x8]
	cmp	x6, x8
	b.eq	LBB0_37
; %bb.27:
Lloh71:
	adrp	x8, _DPP_STATUS_OK@GOTPAGE
Lloh72:
	ldr	x8, [x8, _DPP_STATUS_OK@GOTPAGEOFF]
Lloh73:
	ldr	x8, [x8]
	cmp	x6, x8
	b.ne	LBB0_38
; %bb.28:
Lloh74:
	adrp	x8, _DPP_HDR_LEN@GOTPAGE
Lloh75:
	ldr	x8, [x8, _DPP_HDR_LEN@GOTPAGEOFF]
Lloh76:
	ldr	x3, [x8]
	stp	x23, x22, [x29, #-104]
	stp	x3, x24, [x29, #-120]
	ldr	w0, [x27]
Lloh77:
	adrp	x1, l_.str.14@PAGE
Lloh78:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x2, x23
	bl	_wpa_hexdump
	ldr	w0, [x27]
Lloh79:
	adrp	x1, l_.str.15@PAGE
Lloh80:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x2, x22
	mov	x3, x24
	bl	_wpa_hexdump
	ldr	w0, [x27]
	ldur	x3, [x29, #-144]
Lloh81:
	adrp	x1, l_.str.16@PAGE
Lloh82:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump
	ldur	x8, [x29, #-144]
	ldr	x9, [x28]
	sub	x22, x8, x9
	mov	x0, x22
	bl	_os_malloc
	cbz	x0, LBB0_3
; %bb.29:
	mov	x23, x0
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
	ldr	x1, [x8]
	ldur	x3, [x29, #-144]
	sub	x5, x29, #104
	sub	x6, x29, #120
	mov	x2, x21
	mov	w4, #2
	mov	x7, x23
	bl	_aes_siv_decrypt
	tbnz	x0, #63, LBB0_39
; %bb.30:
	ldr	w0, [x27]
Lloh83:
	adrp	x1, l_.str.18@PAGE
Lloh84:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x2, x23
	mov	x3, x22
	bl	_wpa_hexdump
	mov	x0, x23
	mov	x1, x22
	bl	_dpp_check_attrs
	tbnz	x0, #63, LBB0_41
; %bb.31:
Lloh85:
	adrp	x8, _DPP_ATTR_I_AUTH_TAG@GOTPAGE
Lloh86:
	ldr	x8, [x8, _DPP_ATTR_I_AUTH_TAG@GOTPAGEOFF]
Lloh87:
	ldr	w2, [x8]
	sub	x3, x29, #160
	mov	x0, x23
	mov	x1, x22
	bl	_dpp_get_attr
	cbz	x0, LBB0_40
; %bb.32:
	ldur	x3, [x29, #-160]
	ldr	x8, [x19]
	ldr	x8, [x8]
	cmp	x3, x8
	b.ne	LBB0_40
; %bb.33:
	mov	x21, x0
Lloh88:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh89:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh90:
	ldr	w0, [x8]
Lloh91:
	adrp	x1, l_.str.21@PAGE
Lloh92:
	add	x1, x1, l_.str.21@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump
	mov	x0, x19
	mov	x1, x20
	bl	_dpp_gen_i_auth
	tbnz	x0, #63, LBB0_43
; %bb.34:
Lloh93:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh94:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh95:
	ldr	w0, [x8]
	ldur	x3, [x29, #-160]
Lloh96:
	adrp	x1, l_.str.22@PAGE
Lloh97:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	x2, x20
	bl	_wpa_hexdump
	ldur	x2, [x29, #-160]
	mov	x0, x21
	mov	x1, x20
	bl	_os_memcmp
	cbz	x0, LBB0_44
; %bb.35:
Lloh98:
	adrp	x1, l_.str.23@PAGE
Lloh99:
	add	x1, x1, l_.str.23@PAGEOFF
	b	LBB0_42
LBB0_36:
Lloh100:
	adrp	x1, l_.str.11@PAGE
Lloh101:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_2
LBB0_37:
	ldur	x5, [x29, #-144]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x24
	mov	x4, x21
	bl	_dpp_auth_conf_rx_failure
	b	LBB0_4
LBB0_38:
Lloh102:
	adrp	x1, l_.str.13@PAGE
Lloh103:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_2
LBB0_39:
Lloh104:
	adrp	x1, l_.str.17@PAGE
Lloh105:
	add	x1, x1, l_.str.17@PAGEOFF
	b	LBB0_42
LBB0_40:
Lloh106:
	adrp	x1, l_.str.20@PAGE
Lloh107:
	add	x1, x1, l_.str.20@PAGEOFF
	b	LBB0_42
LBB0_41:
Lloh108:
	adrp	x1, l_.str.19@PAGE
Lloh109:
	add	x1, x1, l_.str.19@PAGEOFF
LBB0_42:
	mov	x0, x19
	bl	_dpp_auth_fail
LBB0_43:
	mov	x0, x23
	mov	x1, x22
	bl	_bin_clear_free
	b	LBB0_3
LBB0_44:
	mov	x0, x23
	mov	x1, x22
	bl	_bin_clear_free
	mov	x0, x19
	bl	_dpp_auth_success
	mov	w0, #0
	b	LBB0_4
LBB0_45:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpAdd	Lloh106, Lloh107
	.loh AdrpAdd	Lloh108, Lloh109
	.cfi_endproc
                                        ; -- End function
	.comm	_DPP_MAX_HASH_LEN,4,2           ; @DPP_MAX_HASH_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected Authentication Confirm"

	.comm	_DPP_ATTR_WRAPPED_DATA,4,2      ; @DPP_ATTR_WRAPPED_DATA
	.comm	_AES_BLOCK_SIZE,8,3             ; @AES_BLOCK_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"Missing or invalid required Wrapped Data attribute"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.2:                               ; @.str.2
	.asciz	"DPP: Wrapped data"

	.comm	_DPP_ATTR_R_BOOTSTRAP_KEY_HASH,4,2 ; @DPP_ATTR_R_BOOTSTRAP_KEY_HASH
	.comm	_SHA256_MAC_LEN,8,3             ; @SHA256_MAC_LEN
l_.str.3:                               ; @.str.3
	.asciz	"Missing or invalid required Responder Bootstrapping Key Hash attribute"

l_.str.4:                               ; @.str.4
	.asciz	"DPP: Responder Bootstrapping Key Hash"

l_.str.5:                               ; @.str.5
	.asciz	"DPP: Expected Responder Bootstrapping Key Hash"

l_.str.6:                               ; @.str.6
	.asciz	"Responder Bootstrapping Key Hash mismatch"

	.comm	_DPP_ATTR_I_BOOTSTRAP_KEY_HASH,4,2 ; @DPP_ATTR_I_BOOTSTRAP_KEY_HASH
l_.str.7:                               ; @.str.7
	.asciz	"Invalid Initiator Bootstrapping Key Hash attribute"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.8:                               ; @.str.8
	.asciz	"DPP: Initiator Bootstrapping Key Hash"

l_.str.9:                               ; @.str.9
	.asciz	"Initiator Bootstrapping Key Hash mismatch"

l_.str.10:                              ; @.str.10
	.asciz	"Missing Initiator Bootstrapping Key Hash attribute"

	.comm	_DPP_ATTR_STATUS,4,2            ; @DPP_ATTR_STATUS
l_.str.11:                              ; @.str.11
	.asciz	"Missing or invalid required DPP Status attribute"

l_.str.12:                              ; @.str.12
	.asciz	"DPP: Status %u"

	.comm	_DPP_STATUS_NOT_COMPATIBLE,8,3  ; @DPP_STATUS_NOT_COMPATIBLE
	.comm	_DPP_STATUS_AUTH_FAILURE,8,3    ; @DPP_STATUS_AUTH_FAILURE
	.comm	_DPP_STATUS_OK,8,3              ; @DPP_STATUS_OK
l_.str.13:                              ; @.str.13
	.asciz	"Authentication failed"

	.comm	_DPP_HDR_LEN,8,3                ; @DPP_HDR_LEN
l_.str.14:                              ; @.str.14
	.asciz	"DDP: AES-SIV AD[0]"

l_.str.15:                              ; @.str.15
	.asciz	"DDP: AES-SIV AD[1]"

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

l_.str.17:                              ; @.str.17
	.asciz	"AES-SIV decryption failed"

l_.str.18:                              ; @.str.18
	.asciz	"DPP: AES-SIV cleartext"

l_.str.19:                              ; @.str.19
	.asciz	"Invalid attribute in unwrapped data"

	.comm	_DPP_ATTR_I_AUTH_TAG,4,2        ; @DPP_ATTR_I_AUTH_TAG
l_.str.20:                              ; @.str.20
	.asciz	"Missing or invalid Initiator Authenticating Tag"

l_.str.21:                              ; @.str.21
	.asciz	"DPP: Received Initiator Authenticating Tag"

l_.str.22:                              ; @.str.22
	.asciz	"DPP: Calculated Initiator Authenticating Tag"

l_.str.23:                              ; @.str.23
	.asciz	"Mismatching Initiator Authenticating Tag"

	.comm	_DPP_TEST_STOP_AT_AUTH_CONF,8,3 ; @DPP_TEST_STOP_AT_AUTH_CONF
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.comm	_dpp_test,8,3                   ; @dpp_test
.subsections_via_symbols
