	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_mac
_make_mac:                              ## @make_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
	movl	%esi, %ebx
	movq	_NID_md5@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_7
## %bb.1:
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	movq	%rax, %r14
	movl	$0, -44(%rbp)
	cmpq	$16, (%r13)
	jae	LBB0_2
## %bb.4:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_msyslog
	testq	%r14, %r14
	jne	LBB0_6
	jmp	LBB0_8
LBB0_7:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r15d, %r15d
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_msyslog
	jmp	LBB0_8
LBB0_2:
	testq	%r14, %r14
	je	LBB0_3
## %bb.5:
	movl	%ebx, %edi
	callq	_EVP_get_digestbynid
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_EVP_DigestInit
	movq	(%r12), %rsi
	movl	8(%r12), %edx
	movq	%r14, %rdi
	callq	_EVP_DigestUpdate
	movq	(%r15), %rsi
	movl	8(%r15), %edx
	movq	%r14, %rdi
	callq	_EVP_DigestUpdate
	movl	8(%r13), %esi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	callq	_EVP_DigestFinal
LBB0_6:
	movq	%r14, %rdi
	callq	_EVP_MD_CTX_free
	movslq	-44(%rbp), %r15
	jmp	LBB0_8
LBB0_3:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_msyslog
LBB0_8:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_md5,4,2                    ## @NID_md5
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"MAC encrypt: MAC md5 buf too small."

L_.str.2:                               ## @.str.2
	.asciz	"MAC encrypt: MAC md5 Digest CTX new failed."

L_.str.3:                               ## @.str.3
	.asciz	"MAC encrypt: invalid key type %d"

	.comm	_AES_128_KEY_SIZE,4,2           ## @AES_128_KEY_SIZE
	.comm	_CMAC,4,2                       ## @CMAC
	.comm	_EVP_MD_CTX_FLAG_NON_FIPS_ALLOW,4,2 ## @EVP_MD_CTX_FLAG_NON_FIPS_ALLOW
	.comm	_NID_cmac,4,2                   ## @NID_cmac
	.no_dead_strip	_make_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_mac
_make_mac:                              ; @make_mac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x1
Lloh0:
	adrp	x8, _NID_md5@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NID_md5@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_3
; %bb.1:
	mov	x21, x3
	mov	x22, x2
	mov	x20, x0
	bl	_EVP_MD_CTX_new
	mov	x19, x0
	str	wzr, [sp, #12]
	ldr	x8, [x20]
	cmp	x8, #16
	b.hs	LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_msyslog
	cbnz	x19, LBB0_8
	b	LBB0_5
LBB0_3:
Lloh10:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	str	x23, [sp]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_4:
	bl	_msyslog
LBB0_5:
	mov	x0, #0
	b	LBB0_9
LBB0_6:
	cbz	x19, LBB0_10
; %bb.7:
	mov	x0, x23
	bl	_EVP_get_digestbynid
	mov	x1, x0
	mov	x0, x19
	bl	_EVP_DigestInit
	ldr	x1, [x22]
	ldr	w2, [x22, #8]
	mov	x0, x19
	bl	_EVP_DigestUpdate
	ldr	x1, [x21]
	ldr	w2, [x21, #8]
	mov	x0, x19
	bl	_EVP_DigestUpdate
	ldr	w1, [x20, #8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_EVP_DigestFinal
LBB0_8:
	mov	x0, x19
	bl	_EVP_MD_CTX_free
	ldrsw	x0, [sp, #12]
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
Lloh15:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, l_.str.2@PAGE
Lloh19:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [sp]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_md5,4,2                    ; @NID_md5
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"MAC encrypt: MAC md5 buf too small."

l_.str.2:                               ; @.str.2
	.asciz	"MAC encrypt: MAC md5 Digest CTX new failed."

l_.str.3:                               ; @.str.3
	.asciz	"MAC encrypt: invalid key type %d"

	.comm	_AES_128_KEY_SIZE,4,2           ; @AES_128_KEY_SIZE
	.comm	_CMAC,4,2                       ; @CMAC
	.comm	_EVP_MD_CTX_FLAG_NON_FIPS_ALLOW,4,2 ; @EVP_MD_CTX_FLAG_NON_FIPS_ALLOW
	.comm	_NID_cmac,4,2                   ; @NID_cmac
	.no_dead_strip	_make_mac
.subsections_via_symbols
