	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_mac
_get_mac:                               ## @get_mac
	.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
	movq	%rdi, %rbx
	movq	16(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%r8, %r14
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %r12
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_crypto_alloc_shash
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%r13, (%r15)
	movq	(%rbx), %rdi
	callq	_PTR_ERR
	movq	$0, (%rbx)
	jmp	LBB0_4
LBB0_5:
	movq	8(%r12), %rsi
	movq	(%rbx), %rdi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.6:
	movl	(%r12), %edx
	callq	_crypto_shash_setkey
	testl	%eax, %eax
	je	LBB0_3
## %bb.7:
	movq	%r14, (%r15)
	jmp	LBB0_4
LBB0_8:
	callq	_crypto_shash_get_flags
	movq	_CRYPTO_TFM_NEED_KEY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.9:
	movq	%r14, (%r15)
	movq	_ENOKEY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_TFM_NEED_KEY,4,2        ## @CRYPTO_TFM_NEED_KEY
	.comm	_ENOKEY,4,2                     ## @ENOKEY
	.no_dead_strip	_get_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_mac
_get_mac:                               ; @get_mac
	.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	x21, x0
	ldr	x0, [x1, #16]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x4
	mov	x23, x3
	mov	x20, x2
	mov	x22, x1
	mov	w1, #0
	mov	w2, #0
	bl	_crypto_alloc_shash
	str	x0, [x21]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	str	x23, [x20]
	ldr	x0, [x21]
	bl	_PTR_ERR
	str	xzr, [x21]
LBB0_3:
	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
	ret
LBB0_4:
	ldr	x1, [x22, #8]
	ldr	x0, [x21]
	cbz	x1, LBB0_7
; %bb.5:
	ldr	w2, [x22]
	bl	_crypto_shash_setkey
	cbz	w0, LBB0_3
; %bb.6:
	str	x19, [x20]
	b	LBB0_3
LBB0_7:
	bl	_crypto_shash_get_flags
Lloh0:
	adrp	x8, _CRYPTO_TFM_NEED_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPTO_TFM_NEED_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_9
; %bb.8:
	str	x19, [x20]
Lloh3:
	adrp	x8, _ENOKEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOKEY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_9:
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_TFM_NEED_KEY,4,2        ; @CRYPTO_TFM_NEED_KEY
	.comm	_ENOKEY,4,2                     ; @ENOKEY
	.no_dead_strip	_get_mac
.subsections_via_symbols
