	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipher_hw_generic_ctr          ## -- Begin function cipher_hw_generic_ctr
	.p2align	4, 0x90
_cipher_hw_generic_ctr:                 ## @cipher_hw_generic_ctr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movl	%eax, -12(%rbp)
	movl	20(%rdi), %eax
	movl	16(%rdi), %r10d
	movl	8(%rdi), %r9d
	movl	12(%rdi), %r8d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	-12(%rbp), %r11
	movq	%rdx, %rdi
	movq	%rcx, %rdx
	movl	%r10d, %ecx
	pushq	%rax
	pushq	%r11
	callq	_CRYPTO_ctr128_encrypt_ctr32
	jmp	LBB0_3
LBB0_2:
	movl	4(%rbx), %eax
	leaq	-12(%rbp), %r11
	movq	%rdx, %rdi
	movq	%rcx, %rdx
	movl	%r10d, %ecx
	pushq	%rax
	pushq	%r11
	callq	_CRYPTO_ctr128_encrypt
LBB0_3:
	addq	$16, %rsp
	movl	-12(%rbp), %eax
	movl	%eax, (%rbx)
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipher_hw_generic_ctr          ; -- Begin function cipher_hw_generic_ctr
	.p2align	2
_cipher_hw_generic_ctr:                 ; @cipher_hw_generic_ctr
	.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
	mov	x8, x3
	mov	x19, x0
	ldr	w9, [x0]
	str	w9, [sp, #12]
	ldp	w3, w7, [x0, #16]
	ldp	w5, w4, [x0, #8]
	cbz	w7, LBB0_2
; %bb.1:
	add	x6, sp, #12
	mov	x0, x2
	mov	x2, x8
	bl	_CRYPTO_ctr128_encrypt_ctr32
	b	LBB0_3
LBB0_2:
	ldr	w7, [x19, #4]
	add	x6, sp, #12
	mov	x0, x2
	mov	x2, x8
	bl	_CRYPTO_ctr128_encrypt
LBB0_3:
	ldr	w8, [sp, #12]
	str	w8, [x19]
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
