	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypt_ctr_auth_cipher
_crypt_ctr_auth_cipher:                 ## @crypt_ctr_auth_cipher
	.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, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstarts
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$40, %esi
	callq	_strchr
	movq	%rax, %r13
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_strchr
	testq	%r13, %r13
	je	LBB0_5
## %bb.3:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	incq	%r13
	cmpq	%r15, %r13
	jbe	LBB0_6
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_1:
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	subl	%r13d, %r15d
	leal	1(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_strncpy
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_crypto_alloc_ahash
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_kfree
	movq	%r15, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.12:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_8:
	movq	%r15, %rdi
	callq	_crypto_ahash_digestsize
	movl	%eax, 4(%r14)
	movq	%r15, %rdi
	callq	_crypto_free_ahash
	movq	%r14, %rdi
	callq	_crypt_authenckey_size
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_kmalloc
	movl	%eax, (%r14)
	testl	%eax, %eax
	jne	LBB0_11
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"authenc("

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_crypt_ctr_auth_cipher
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypt_ctr_auth_cipher
_crypt_ctr_auth_cipher:                 ; @crypt_ctr_auth_cipher
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strstarts
	cbz	w0, LBB0_6
; %bb.1:
	mov	x0, x20
	mov	w1, #40
	bl	_strchr
	mov	x21, x0
	mov	x0, x20
	mov	w1, #44
	bl	_strchr
	cbz	x21, LBB0_4
; %bb.2:
	cbz	x0, LBB0_4
; %bb.3:
	add	x20, x21, #1
	cmp	x20, x0
	b.ls	LBB0_7
LBB0_4:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	sub	w22, w0, w20
	add	w0, w22, #1
Lloh4:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_kzalloc
	cbz	x0, LBB0_12
; %bb.8:
	mov	x21, x0
	mov	x1, x20
	mov	x2, x22
	bl	_strncpy
	mov	x0, x21
	mov	w1, #0
	mov	w2, #0
	bl	_crypto_alloc_ahash
	mov	x20, x0
	mov	x0, x21
	bl	_kfree
	mov	x0, x20
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_10:
	mov	x0, x20
	bl	_crypto_ahash_digestsize
	str	w0, [x19, #4]
	mov	x0, x20
	bl	_crypto_free_ahash
	mov	x0, x19
	bl	_crypt_authenckey_size
	ldr	w1, [x23]
	bl	_kmalloc
	str	w0, [x19]
	cbz	w0, LBB0_12
; %bb.11:
	mov	w0, #0
	b	LBB0_6
LBB0_12:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"authenc("

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_crypt_ctr_auth_cipher
.subsections_via_symbols
