	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_md_hmac                ## -- Begin function mbedtls_md_hmac
	.p2align	4, 0x90
_mbedtls_md_hmac:                       ## @mbedtls_md_hmac
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	leaq	-44(%rbp), %r15
	movq	%r15, %rdi
	callq	_mbedtls_md_init
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_mbedtls_md_setup
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_mbedtls_md_hmac_starts
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_mbedtls_md_hmac_update
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_mbedtls_md_hmac_finish
	movq	%r14, %rdi
	callq	_mbedtls_md_free
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_1:
	movq	_MBEDTLS_ERR_MD_BAD_INPUT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_MD_BAD_INPUT_DATA,4,2 ## @MBEDTLS_ERR_MD_BAD_INPUT_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_md_hmac                ; -- Begin function mbedtls_md_hmac
	.p2align	2
_mbedtls_md_hmac:                       ; @mbedtls_md_hmac
	.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
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	add	x0, sp, #12
	bl	_mbedtls_md_init
	add	x0, sp, #12
	mov	x1, x24
	mov	w2, #1
	bl	_mbedtls_md_setup
	cbnz	w0, LBB0_4
; %bb.2:
	add	x0, sp, #12
	mov	x1, x23
	mov	x2, x22
	bl	_mbedtls_md_hmac_starts
	add	x0, sp, #12
	mov	x1, x21
	mov	x2, x20
	bl	_mbedtls_md_hmac_update
	add	x0, sp, #12
	mov	x1, x19
	bl	_mbedtls_md_hmac_finish
	add	x0, sp, #12
	bl	_mbedtls_md_free
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _MBEDTLS_ERR_MD_BAD_INPUT_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ERR_MD_BAD_INPUT_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_MD_BAD_INPUT_DATA,4,2 ; @MBEDTLS_ERR_MD_BAD_INPUT_DATA
.subsections_via_symbols
