	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encrypt_sector
_encrypt_sector:                        ## @encrypt_sector
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_MODE_CBC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdi
	xorl	%edx, %edx
	callq	_rijndael_cipherInit
	testl	%eax, %eax
	jg	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	callq	_errx
LBB0_2:
	movq	_DIR_ENCRYPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdi
	movl	%r12d, %edx
	movq	%r15, %rcx
	callq	_rijndael_makeKey
	testl	%eax, %eax
	jg	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	callq	_errx
LBB0_4:
	shll	$3, %ebx
	leaq	-36(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	movq	%r14, %r8
	callq	_rijndael_blockEncrypt
	testl	%eax, %eax
	jg	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	callq	_errx
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_CBC,4,2                   ## @MODE_CBC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rijndael_cipherInit=%d"

	.comm	_DIR_ENCRYPT,4,2                ## @DIR_ENCRYPT
L_.str.1:                               ## @.str.1
	.asciz	"rijndael_makeKeY=%d"

L_.str.2:                               ## @.str.2
	.asciz	"rijndael_blockEncrypt=%d"

	.no_dead_strip	_encrypt_sector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encrypt_sector
_encrypt_sector:                        ; @encrypt_sector
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MODE_CBC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_CBC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	x2, #0
	bl	_rijndael_cipherInit
	cmp	w0, #0
	b.gt	LBB0_2
; %bb.1:
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
Lloh5:
	adrp	x8, _DIR_ENCRYPT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DIR_ENCRYPT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	x2, x22
	mov	x3, x21
	bl	_rijndael_makeKey
	cmp	w0, #0
	b.gt	LBB0_4
; %bb.3:
	mov	x2, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_4:
	lsl	w3, w20, #3
	add	x0, sp, #8
	add	x1, sp, #12
	mov	x2, x19
	mov	x4, x19
	bl	_rijndael_blockEncrypt
	cmp	w0, #0
	b.gt	LBB0_6
; %bb.5:
	mov	x2, x0
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_errx
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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_CBC,4,2                   ; @MODE_CBC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rijndael_cipherInit=%d"

	.comm	_DIR_ENCRYPT,4,2                ; @DIR_ENCRYPT
l_.str.1:                               ; @.str.1
	.asciz	"rijndael_makeKeY=%d"

l_.str.2:                               ; @.str.2
	.asciz	"rijndael_blockEncrypt=%d"

	.no_dead_strip	_encrypt_sector
.subsections_via_symbols
