	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp_auth_conf_rx_failure
_dpp_auth_conf_rx_failure:              ## @dpp_auth_conf_rx_failure
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r13
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %rdx
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, -64(%rbp)
	movq	_DPP_HDR_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, -80(%rbp)
	movq	%rbx, -56(%rbp)
	movq	%r15, -72(%rbp)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_hexdump
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_wpa_hexdump
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_wpa_hexdump
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movq	%r12, %rbx
	subq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_os_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movl	16(%r14), %edi
	movq	8(%r14), %rax
	movl	8(%rax), %esi
	leaq	-80(%rbp), %rax
	leaq	-64(%rbp), %r9
	movq	%r13, %rdx
	movq	%r12, %rcx
	movl	$2, %r8d
	pushq	%r15
	pushq	%rax
	callq	_aes_siv_decrypt
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_wpa_hexdump
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dpp_check_attrs
	testq	%rax, %rax
	js	LBB0_5
## %bb.6:
	movq	_DPP_ATTR_R_NONCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-88(%rbp), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dpp_get_attr
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %r12
	movq	-88(%rbp), %rdx
	movq	8(%r14), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_8
## %bb.9:
	movq	(%r14), %rsi
	movq	%r12, %rdi
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	(%r13), %edi
	movq	-88(%rbp), %rcx
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdx
	callq	_wpa_hexdump
	movl	(%r13), %edi
	movq	(%r14), %rdx
	movq	-88(%rbp), %rcx
	leaq	L_.str.9(%rip), %rsi
	callq	_wpa_hexdump
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_15
LBB0_1:
	leaq	L_.str.3(%rip), %rsi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_3:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_15
LBB0_8:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_15
LBB0_5:
	leaq	L_.str.6(%rip), %rsi
LBB0_15:
	movq	%r14, %rdi
LBB0_16:
	callq	_dpp_auth_fail
LBB0_17:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bin_clear_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	movl	$-1, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	16(%rbp), %eax
	movq	_DPP_STATUS_NOT_COMPATIBLE@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_15
LBB0_13:
	movq	_DPP_STATUS_AUTH_FAILURE@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_17
## %bb.14:
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_15
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DPP_HDR_LEN,8,3                ## @DPP_HDR_LEN
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DDP: AES-SIV AD[0]"

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

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

	.comm	_AES_BLOCK_SIZE,8,3             ## @AES_BLOCK_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"Authentication failed"

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

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

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

	.comm	_DPP_ATTR_R_NONCE,4,2           ## @DPP_ATTR_R_NONCE
L_.str.7:                               ## @.str.7
	.asciz	"DPP: Missing or invalid R-nonce"

L_.str.8:                               ## @.str.8
	.asciz	"DPP: Received R-nonce"

L_.str.9:                               ## @.str.9
	.asciz	"DPP: Expected R-nonce"

L_.str.10:                              ## @.str.10
	.asciz	"R-nonce mismatch"

	.comm	_DPP_STATUS_NOT_COMPATIBLE,4,2  ## @DPP_STATUS_NOT_COMPATIBLE
L_.str.11:                              ## @.str.11
	.asciz	"Peer reported incompatible R-capab role"

	.comm	_DPP_STATUS_AUTH_FAILURE,4,2    ## @DPP_STATUS_AUTH_FAILURE
L_.str.12:                              ## @.str.12
	.asciz	"Peer reported authentication failure)"

	.no_dead_strip	_dpp_auth_conf_rx_failure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp_auth_conf_rx_failure
_dpp_auth_conf_rx_failure:              ; @dpp_auth_conf_rx_failure
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x6
	mov	x23, x5
	mov	x24, x4
	mov	x20, x3
	mov	x21, x2
	mov	x2, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _DPP_HDR_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DPP_HDR_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x3, [x8]
	stp	x1, x21, [sp, #24]
	stp	x3, x20, [sp, #8]
Lloh6:
	adrp	x25, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x25, [x25, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_hexdump
	ldr	w0, [x25]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	mov	x3, x20
	bl	_wpa_hexdump
	ldr	w0, [x25]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x24
	mov	x3, x23
	bl	_wpa_hexdump
Lloh14:
	adrp	x8, _AES_BLOCK_SIZE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AES_BLOCK_SIZE@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	sub	x20, x23, x8
	mov	x0, x20
	bl	_os_malloc
	mov	x21, x0
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w0, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #8]
	add	x5, sp, #24
	add	x6, sp, #8
	mov	x2, x24
	mov	x3, x23
	mov	w4, #2
	mov	x7, x21
	bl	_aes_siv_decrypt
	tbnz	x0, #63, LBB0_8
; %bb.2:
	ldr	w0, [x25]
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x21
	mov	x3, x20
	bl	_wpa_hexdump
	mov	x0, x21
	mov	x1, x20
	bl	_dpp_check_attrs
	tbnz	x0, #63, LBB0_10
; %bb.3:
Lloh19:
	adrp	x8, _DPP_ATTR_R_NONCE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DPP_ATTR_R_NONCE@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x3, sp
	mov	x0, x21
	mov	x1, x20
	bl	_dpp_get_attr
	cbz	x0, LBB0_9
; %bb.4:
	ldr	x2, [sp]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_9
; %bb.5:
	mov	x23, x0
	ldr	x1, [x19]
	bl	_os_memcmp
	cbz	x0, LBB0_14
; %bb.6:
	ldr	w0, [x25]
	ldr	x3, [sp]
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x23
	bl	_wpa_hexdump
	ldr	w0, [x25]
	ldr	x2, [x19]
	ldr	x3, [sp]
Lloh24:
	adrp	x1, l_.str.9@PAGE
Lloh25:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_wpa_hexdump
Lloh26:
	adrp	x1, l_.str.10@PAGE
Lloh27:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_11
LBB0_7:
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_8:
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh32:
	adrp	x1, l_.str.7@PAGE
Lloh33:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh34:
	adrp	x1, l_.str.6@PAGE
Lloh35:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_11:
	mov	x0, x19
	bl	_dpp_auth_fail
LBB0_12:
	mov	x0, x21
	mov	x1, x20
	bl	_bin_clear_free
	ldr	x8, [sp, #40]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.13:
	mov	w0, #-1
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_14:
Lloh39:
	adrp	x8, _DPP_STATUS_NOT_COMPATIBLE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DPP_STATUS_NOT_COMPATIBLE@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_16
; %bb.15:
Lloh42:
	adrp	x1, l_.str.11@PAGE
Lloh43:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_11
LBB0_16:
Lloh44:
	adrp	x8, _DPP_STATUS_AUTH_FAILURE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _DPP_STATUS_AUTH_FAILURE@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_12
; %bb.17:
Lloh47:
	adrp	x1, l_.str.12@PAGE
Lloh48:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_11
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_DPP_HDR_LEN,8,3                ; @DPP_HDR_LEN
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DDP: AES-SIV AD[0]"

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

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

	.comm	_AES_BLOCK_SIZE,8,3             ; @AES_BLOCK_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"Authentication failed"

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

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

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

	.comm	_DPP_ATTR_R_NONCE,4,2           ; @DPP_ATTR_R_NONCE
l_.str.7:                               ; @.str.7
	.asciz	"DPP: Missing or invalid R-nonce"

l_.str.8:                               ; @.str.8
	.asciz	"DPP: Received R-nonce"

l_.str.9:                               ; @.str.9
	.asciz	"DPP: Expected R-nonce"

l_.str.10:                              ; @.str.10
	.asciz	"R-nonce mismatch"

	.comm	_DPP_STATUS_NOT_COMPATIBLE,4,2  ; @DPP_STATUS_NOT_COMPATIBLE
l_.str.11:                              ; @.str.11
	.asciz	"Peer reported incompatible R-capab role"

	.comm	_DPP_STATUS_AUTH_FAILURE,4,2    ; @DPP_STATUS_AUTH_FAILURE
l_.str.12:                              ; @.str.12
	.asciz	"Peer reported authentication failure)"

	.no_dead_strip	_dpp_auth_conf_rx_failure
.subsections_via_symbols
