	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SHA256_Pad                     ## -- Begin function SHA256_Pad
	.p2align	4, 0x90
_SHA256_Pad:                            ## @SHA256_Pad
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	sarl	$3, %eax
	movq	_SHA256_BLOCK_LENGTH@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movq	8(%rdi), %rsi
	testl	%edx, %edx
	je	LBB0_5
## %bb.1:
	movl	%edx, %eax
	incl	%edx
	movl	$128, (%rsi,%rax,4)
	movq	_SHA256_SHORT_BLOCK_LENGTH@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	subl	%edx, %eax
	jae	LBB0_6
## %bb.2:
	movl	(%rcx), %eax
	subl	%edx, %eax
	jbe	LBB0_4
## %bb.3:
	movl	%edx, %ecx
	leaq	(%rsi,%rcx,4), %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_memset
	movq	8(%rbx), %rsi
LBB0_4:
	movl	16(%rbx), %edi
	callq	_SHA256_Transform
	movq	8(%rbx), %rdi
	movl	(%r14), %edx
	xorl	%esi, %esi
	jmp	LBB0_7
LBB0_5:
	movq	_SHA256_SHORT_BLOCK_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	8(%rbx), %rax
	movl	$128, (%rax)
	jmp	LBB0_8
LBB0_6:
	movl	%edx, %ecx
	leaq	(%rsi,%rcx,4), %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
LBB0_7:
	callq	_memset
LBB0_8:
	movq	_SHA256_SHORT_BLOCK_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shlq	$2, %rdi
	addq	8(%rbx), %rdi
	movl	(%rbx), %esi
	callq	_BE_64_TO_8
	movl	16(%rbx), %edi
	movq	8(%rbx), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SHA256_Transform               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA256_BLOCK_LENGTH,4,2        ## @SHA256_BLOCK_LENGTH
	.comm	_SHA256_SHORT_BLOCK_LENGTH,4,2  ## @SHA256_SHORT_BLOCK_LENGTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SHA256_Pad                     ; -- Begin function SHA256_Pad
	.p2align	2
_SHA256_Pad:                            ; @SHA256_Pad
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	asr	w9, w8, #3
Lloh0:
	adrp	x8, _SHA256_BLOCK_LENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SHA256_BLOCK_LENGTH@GOTPAGEOFF]
	ldr	w10, [x8]
	sdiv	w11, w9, w10
	msub	w10, w11, w10, w9
	ldr	x1, [x0, #8]
Lloh2:
	adrp	x20, _SHA256_SHORT_BLOCK_LENGTH@GOTPAGE
Lloh3:
	ldr	x20, [x20, _SHA256_SHORT_BLOCK_LENGTH@GOTPAGEOFF]
	cbz	w10, LBB0_5
; %bb.1:
	add	w9, w10, #1
	mov	w11, #128
	str	w11, [x1, w10, uxtw #2]
	ldr	w10, [x20]
	subs	w2, w10, w9
	b.hs	LBB0_6
; %bb.2:
	ldr	w8, [x8]
	subs	w2, w8, w9
	b.ls	LBB0_4
; %bb.3:
	add	x0, x1, w9, uxtw #2
	mov	w1, #0
	bl	_memset
	ldr	x1, [x19, #8]
LBB0_4:
	ldr	w0, [x19, #16]
	bl	_SHA256_Transform
	ldr	x0, [x19, #8]
	ldr	w2, [x20]
	b	LBB0_7
LBB0_5:
	ldr	w2, [x20]
	mov	x0, x1
	mov	w1, #0
	bl	_memset
	ldr	x8, [x19, #8]
	mov	w9, #128
	str	w9, [x8]
	b	LBB0_8
LBB0_6:
	add	x0, x1, w9, uxtw #2
LBB0_7:
	mov	w1, #0
	bl	_memset
LBB0_8:
	ldr	x8, [x19, #8]
	ldr	w9, [x20]
	add	x0, x8, x9, lsl #2
	ldr	w1, [x19]
	bl	_BE_64_TO_8
	ldr	w0, [x19, #16]
	ldr	x1, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SHA256_Transform
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA256_BLOCK_LENGTH,4,2        ; @SHA256_BLOCK_LENGTH
	.comm	_SHA256_SHORT_BLOCK_LENGTH,4,2  ; @SHA256_SHORT_BLOCK_LENGTH
.subsections_via_symbols
