	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_entropy_add_source     ## -- Begin function mbedtls_entropy_add_source
	.p2align	4, 0x90
_mbedtls_entropy_add_source:            ## @mbedtls_entropy_add_source
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	(%rdi), %r9
	movq	_MBEDTLS_ENTROPY_MAX_SOURCES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r9d
	jge	LBB0_1
## %bb.2:
	movq	8(%rdi), %r10
	movq	%r9, %rax
	shlq	$5, %rax
	movl	%esi, 24(%r10,%rax)
	movq	%rdx, 16(%r10,%rax)
	movq	%rcx, (%r10,%rax)
	movl	%r8d, 8(%r10,%rax)
	leal	1(%r9), %eax
	movl	%eax, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_MBEDTLS_ERR_ENTROPY_MAX_SOURCES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ENTROPY_MAX_SOURCES,4,2 ## @MBEDTLS_ENTROPY_MAX_SOURCES
	.comm	_MBEDTLS_ERR_ENTROPY_MAX_SOURCES,4,2 ## @MBEDTLS_ERR_ENTROPY_MAX_SOURCES
	.comm	_MBEDTLS_ERR_THREADING_MUTEX_ERROR,4,2 ## @MBEDTLS_ERR_THREADING_MUTEX_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_entropy_add_source     ; -- Begin function mbedtls_entropy_add_source
	.p2align	2
_mbedtls_entropy_add_source:            ; @mbedtls_entropy_add_source
	.cfi_startproc
; %bb.0:
	ldrsw	x9, [x0]
Lloh0:
	adrp	x10, _MBEDTLS_ENTROPY_MAX_SOURCES@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MBEDTLS_ENTROPY_MAX_SOURCES@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ge	LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	ldr	x10, [x8, #8]
	add	x10, x10, x9, lsl #5
	str	w1, [x10, #24]
	str	x2, [x10, #16]
	str	x3, [x10]
	str	w4, [x10, #8]
	add	w9, w9, #1
	str	w9, [x8]
	ret
LBB0_2:
Lloh3:
	adrp	x8, _MBEDTLS_ERR_ENTROPY_MAX_SOURCES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MBEDTLS_ERR_ENTROPY_MAX_SOURCES@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ENTROPY_MAX_SOURCES,4,2 ; @MBEDTLS_ENTROPY_MAX_SOURCES
	.comm	_MBEDTLS_ERR_ENTROPY_MAX_SOURCES,4,2 ; @MBEDTLS_ERR_ENTROPY_MAX_SOURCES
	.comm	_MBEDTLS_ERR_THREADING_MUTEX_ERROR,4,2 ; @MBEDTLS_ERR_THREADING_MUTEX_ERROR
.subsections_via_symbols
