	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aes_ccm_auth_start
_aes_ccm_auth_start:                    ## @aes_ccm_auth_start
	.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, -96(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	testq	%r9, %r9
	setne	%r13b
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	(%rbx,%rbx), %r12d
	leaq	(,%r12,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	shlq	$3, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	shlq	$6, %r13
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	-8(,%rax,4), %rax
	andq	$-8, %rax
	leaq	-1(%r14), %rcx
	orq	%rax, %rcx
	orq	%r13, %rcx
	movq	%rcx, (%r15)
	leaq	8(%r15), %rdi
	movl	$15, %edx
	subq	%r14, %rdx
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_os_memcpy
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rax
	subq	%r14, %rax
	movq	24(%rbp), %r14
	leaq	(%r15,%rax,8), %rdi
	movq	16(%rbp), %rsi
	callq	_WPA_PUT_BE16
	movq	_MSG_EXCESSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	callq	_wpa_hexdump_key
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %r13
	movq	%r15, %rsi
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_aes_encrypt
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_WPA_PUT_BE16
	leaq	16(%r15), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_os_memcpy
	leaq	(%r15,%rbx,8), %rdi
	addq	$16, %rdi
	shll	$3, %r12d
	subl	%ebx, %r12d
	addl	$-2, %r12d
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_os_memset
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_xor_aes_block
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_aes_encrypt
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	-2(%rax), %rcx
	cmpq	%rbx, %rcx
	jae	LBB0_3
## %bb.2:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rax,8), %rdi
	movq	%r14, %rsi
	callq	_xor_aes_block
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,8), %rsi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_aes_encrypt
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AES_BLOCK_SIZE,4,2             ## @AES_BLOCK_SIZE
	.comm	_MSG_EXCESSIVE,4,2              ## @MSG_EXCESSIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CCM B_0"

	.no_dead_strip	_aes_ccm_auth_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aes_ccm_auth_start
_aes_ccm_auth_start:                    ; @aes_ccm_auth_start
	.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, #16
	mov	x19, x7
	mov	x24, x6
	mov	x21, x5
	mov	x23, x4
	mov	x25, x2
	mov	x20, x0
	cmp	x5, #0
	cset	w12, ne
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x27, _AES_BLOCK_SIZE@GOTPAGE
Lloh4:
	ldr	x27, [x27, _AES_BLOCK_SIZE@GOTPAGEOFF]
	ldr	w13, [x27]
	lsl	w28, w13, #1
	lsl	x8, x28, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x22, x9, x8
	mov	sp, x22
	lsl	x8, x13, #3
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x26, x9, x8
	mov	sp, x26
	lsl	x8, x1, #2
	sub	x8, x8, #8
	and	x8, x8, #0xfffffffffffffff8
	sub	x9, x2, #1
	orr	x8, x8, x9
	orr	x8, x8, x12, lsl #6
	mov	x0, x26
	str	x8, [x0], #8
	mov	w8, #15
	sub	x2, x8, x2
	mov	x1, x3
	bl	_os_memcpy
	ldrsw	x8, [x27]
	sub	x8, x8, x25
	add	x0, x26, x8, lsl #3
	mov	x1, x24
	bl	_WPA_PUT_BE16
Lloh9:
	adrp	x8, _MSG_EXCESSIVE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_EXCESSIVE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w3, [x27]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x26
	bl	_wpa_hexdump_key
	mov	x0, x20
	mov	x1, x26
	mov	x2, x19
	bl	_aes_encrypt
	cbz	x21, LBB0_3
; %bb.1:
	mov	x0, x22
	mov	x1, x21
	bl	_WPA_PUT_BE16
	add	x24, x22, #16
	mov	x0, x24
	mov	x1, x23
	mov	x2, x21
	bl	_os_memcpy
	add	x0, x24, x21, lsl #3
	lsl	w8, w28, #3
	sub	w8, w8, w21
	sub	w2, w8, #2
	mov	w1, #0
	bl	_os_memset
	mov	x0, x22
	mov	x1, x19
	bl	_xor_aes_block
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_aes_encrypt
	ldrsw	x8, [x27]
	sub	x9, x8, #2
	cmp	x9, x21
	b.hs	LBB0_3
; %bb.2:
	add	x0, x22, x8, lsl #3
	mov	x1, x19
	bl	_xor_aes_block
	ldrsw	x8, [x27]
	add	x1, x22, x8, lsl #3
	mov	x0, x20
	mov	x2, x19
	bl	_aes_encrypt
LBB0_3:
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	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_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_AES_BLOCK_SIZE,4,2             ; @AES_BLOCK_SIZE
	.comm	_MSG_EXCESSIVE,4,2              ; @MSG_EXCESSIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CCM B_0"

	.no_dead_strip	_aes_ccm_auth_start
.subsections_via_symbols
