	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5p_hash_write_ctrl
_s5p_hash_write_ctrl:                   ## @s5p_hash_write_ctrl
	.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
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	(%rdi), %edi
	callq	_ahash_request_ctx
	movq	%rax, %rbx
	movq	_SSS_HASH_INIT_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	orl	(%rbx), %r14d
	movl	4(%rbx), %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_s5p_hash_write_ctx_iv
	movq	_SSS_HASH_USER_IV_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
LBB0_2:
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	movq	%r13, %rdx
	movl	4(%rbx), %r13d
	shll	$3, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_4:
	movl	$31, %edi
	callq	_BIT
	movl	%eax, %r15d
	xorl	%edx, %edx
	xorl	%r13d, %r13d
LBB0_5:
	movq	_SSS_HASH_BYTESWAP_DI@GOTPCREL(%rip), %rax
	movq	_SSS_HASH_BYTESWAP_DO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_SSS_HASH_BYTESWAP_IV@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SSS_HASH_BYTESWAP_KEY@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SSS_REG_HASH_MSG_SIZE_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_s5p_hash_write
	movq	_SSS_REG_HASH_MSG_SIZE_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_s5p_hash_write
	movq	_SSS_REG_HASH_PRE_MSG_SIZE_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_s5p_hash_write
	movq	_SSS_REG_HASH_PRE_MSG_SIZE_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_s5p_hash_write
	movq	_SSS_REG_HASH_CTRL_SWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_s5p_hash_write
	movq	_SSS_REG_HASH_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_s5p_hash_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SSS_HASH_INIT_BIT,4,2          ## @SSS_HASH_INIT_BIT
	.comm	_SSS_HASH_USER_IV_EN,4,2        ## @SSS_HASH_USER_IV_EN
	.comm	_SSS_HASH_BYTESWAP_DI,4,2       ## @SSS_HASH_BYTESWAP_DI
	.comm	_SSS_HASH_BYTESWAP_DO,4,2       ## @SSS_HASH_BYTESWAP_DO
	.comm	_SSS_HASH_BYTESWAP_IV,4,2       ## @SSS_HASH_BYTESWAP_IV
	.comm	_SSS_HASH_BYTESWAP_KEY,4,2      ## @SSS_HASH_BYTESWAP_KEY
	.comm	_SSS_REG_HASH_MSG_SIZE_LOW,4,2  ## @SSS_REG_HASH_MSG_SIZE_LOW
	.comm	_SSS_REG_HASH_MSG_SIZE_HIGH,4,2 ## @SSS_REG_HASH_MSG_SIZE_HIGH
	.comm	_SSS_REG_HASH_PRE_MSG_SIZE_LOW,4,2 ## @SSS_REG_HASH_PRE_MSG_SIZE_LOW
	.comm	_SSS_REG_HASH_PRE_MSG_SIZE_HIGH,4,2 ## @SSS_REG_HASH_PRE_MSG_SIZE_HIGH
	.comm	_SSS_REG_HASH_CTRL_SWAP,4,2     ## @SSS_REG_HASH_CTRL_SWAP
	.comm	_SSS_REG_HASH_CTRL,4,2          ## @SSS_REG_HASH_CTRL
	.no_dead_strip	_s5p_hash_write_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5p_hash_write_ctrl
_s5p_hash_write_ctrl:                   ; @s5p_hash_write_ctrl
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0]
	bl	_ahash_request_ctx
	mov	x23, x0
Lloh0:
	adrp	x8, _SSS_HASH_INIT_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSS_HASH_INIT_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w0, [x0]
	orr	w20, w8, w9
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x23
	bl	_s5p_hash_write_ctx_iv
Lloh3:
	adrp	x8, _SSS_HASH_USER_IV_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSS_HASH_USER_IV_EN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w20, w8, w20
LBB0_2:
	cbz	w22, LBB0_4
; %bb.3:
	mov	w22, #0
	ldr	w8, [x23, #4]
	lsl	w23, w8, #3
	b	LBB0_5
LBB0_4:
	mov	w0, #31
	bl	_BIT
	mov	x22, x0
	mov	w21, #0
	mov	w23, #0
LBB0_5:
Lloh6:
	adrp	x8, _SSS_HASH_BYTESWAP_DI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSS_HASH_BYTESWAP_DI@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _SSS_HASH_BYTESWAP_DO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SSS_HASH_BYTESWAP_DO@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _SSS_HASH_BYTESWAP_IV@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SSS_HASH_BYTESWAP_IV@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _SSS_HASH_BYTESWAP_KEY@GOTPAGE
Lloh16:
	ldr	x10, [x10, _SSS_HASH_BYTESWAP_KEY@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh17:
	ldr	w9, [x10]
	orr	w24, w8, w9
Lloh18:
	adrp	x8, _SSS_REG_HASH_MSG_SIZE_LOW@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SSS_REG_HASH_MSG_SIZE_LOW@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_s5p_hash_write
Lloh21:
	adrp	x8, _SSS_REG_HASH_MSG_SIZE_HIGH@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SSS_REG_HASH_MSG_SIZE_HIGH@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_s5p_hash_write
Lloh24:
	adrp	x8, _SSS_REG_HASH_PRE_MSG_SIZE_LOW@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SSS_REG_HASH_PRE_MSG_SIZE_LOW@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	bl	_s5p_hash_write
Lloh27:
	adrp	x8, _SSS_REG_HASH_PRE_MSG_SIZE_HIGH@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SSS_REG_HASH_PRE_MSG_SIZE_HIGH@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_s5p_hash_write
Lloh30:
	adrp	x8, _SSS_REG_HASH_CTRL_SWAP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SSS_REG_HASH_CTRL_SWAP@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x24
	bl	_s5p_hash_write
Lloh33:
	adrp	x8, _SSS_REG_HASH_CTRL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SSS_REG_HASH_CTRL@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, 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	_s5p_hash_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SSS_HASH_INIT_BIT,4,2          ; @SSS_HASH_INIT_BIT
	.comm	_SSS_HASH_USER_IV_EN,4,2        ; @SSS_HASH_USER_IV_EN
	.comm	_SSS_HASH_BYTESWAP_DI,4,2       ; @SSS_HASH_BYTESWAP_DI
	.comm	_SSS_HASH_BYTESWAP_DO,4,2       ; @SSS_HASH_BYTESWAP_DO
	.comm	_SSS_HASH_BYTESWAP_IV,4,2       ; @SSS_HASH_BYTESWAP_IV
	.comm	_SSS_HASH_BYTESWAP_KEY,4,2      ; @SSS_HASH_BYTESWAP_KEY
	.comm	_SSS_REG_HASH_MSG_SIZE_LOW,4,2  ; @SSS_REG_HASH_MSG_SIZE_LOW
	.comm	_SSS_REG_HASH_MSG_SIZE_HIGH,4,2 ; @SSS_REG_HASH_MSG_SIZE_HIGH
	.comm	_SSS_REG_HASH_PRE_MSG_SIZE_LOW,4,2 ; @SSS_REG_HASH_PRE_MSG_SIZE_LOW
	.comm	_SSS_REG_HASH_PRE_MSG_SIZE_HIGH,4,2 ; @SSS_REG_HASH_PRE_MSG_SIZE_HIGH
	.comm	_SSS_REG_HASH_CTRL_SWAP,4,2     ; @SSS_REG_HASH_CTRL_SWAP
	.comm	_SSS_REG_HASH_CTRL,4,2          ; @SSS_REG_HASH_CTRL
	.no_dead_strip	_s5p_hash_write_ctrl
.subsections_via_symbols
