	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_blowfish_crypt_ctr     ## -- Begin function mbedtls_blowfish_crypt_ctr
	.p2align	4, 0x90
_mbedtls_blowfish_crypt_ctr:            ## @mbedtls_blowfish_crypt_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %r14
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	movq	%r9, %rbx
	movq	%r8, %r13
	movq	%rcx, %r12
	movq	16(%rbp), %r15
	movq	_MBEDTLS_BLOWFISH_BLOCKSIZE@GOTPCREL(%rip), %rdi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %r14
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	incq	%r15
	testq	%rsi, %rsi
	je	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testq	%r14, %r14
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	_MBEDTLS_BLOWFISH_ENCRYPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	_mbedtls_blowfish_crypt_ecb
	movq	_MBEDTLS_BLOWFISH_BLOCKSIZE@GOTPCREL(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rdi), %eax
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%eax, %eax
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	incb	-1(%r12,%rax)
	leaq	-1(%rax), %rax
	je	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	decq	%rsi
	movb	(%r13,%r14), %al
	xorb	(%rbx), %al
	movb	%al, (%r15)
	incq	%r14
	movq	(%rdi), %rcx
	movq	%r14, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %r14d
	jmp	LBB0_9
LBB0_10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_BLOWFISH_BLOCKSIZE,8,3 ## @MBEDTLS_BLOWFISH_BLOCKSIZE
	.comm	_MBEDTLS_BLOWFISH_ENCRYPT,4,2   ## @MBEDTLS_BLOWFISH_ENCRYPT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_blowfish_crypt_ctr     ; -- Begin function mbedtls_blowfish_crypt_ctr
	.p2align	2
_mbedtls_blowfish_crypt_ctr:            ; @mbedtls_blowfish_crypt_ctr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x26, [x2]
	cbz	x1, LBB0_7
; %bb.1:
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x1
	mov	x25, x0
	sub	x27, x3, #1
Lloh0:
	adrp	x28, _MBEDTLS_BLOWFISH_ENCRYPT@GOTPAGE
Lloh1:
	ldr	x28, [x28, _MBEDTLS_BLOWFISH_ENCRYPT@GOTPAGEOFF]
Lloh2:
	adrp	x19, _MBEDTLS_BLOWFISH_BLOCKSIZE@GOTPAGE
Lloh3:
	ldr	x19, [x19, _MBEDTLS_BLOWFISH_BLOCKSIZE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x21], #1
	ldrb	w9, [x22, x26]
	eor	w8, w9, w8
	strb	w8, [x20], #1
	add	x8, x26, #1
	ldr	x9, [x19]
	udiv	x10, x8, x9
	msub	x26, x10, x9, x8
	cbz	x24, LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	sub	x24, x24, #1
	cbnz	x26, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x28]
	mov	x0, x25
	mov	x2, x23
	mov	x3, x22
	bl	_mbedtls_blowfish_crypt_ecb
	ldr	w8, [x19]
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldrb	w9, [x27, x8]
	add	w9, w9, #1
	strb	w9, [x27, x8]
	sub	x8, x8, #1
	tbnz	w9, #8, LBB0_5
	b	LBB0_2
LBB0_7:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x26, [x8]
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_BLOWFISH_BLOCKSIZE,8,3 ; @MBEDTLS_BLOWFISH_BLOCKSIZE
	.comm	_MBEDTLS_BLOWFISH_ENCRYPT,4,2   ; @MBEDTLS_BLOWFISH_ENCRYPT
.subsections_via_symbols
