	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_dhm_read_public        ## -- Begin function mbedtls_dhm_read_public
	.p2align	4, 0x90
_mbedtls_dhm_read_public:               ## @mbedtls_dhm_read_public
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	cmpq	%rdx, (%rdi)
	jae	LBB0_4
LBB0_3:
	movq	_MBEDTLS_ERR_DHM_BAD_INPUT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_4:
	addq	$8, %rdi
	callq	_mbedtls_mpi_read_binary
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	_MBEDTLS_ERR_DHM_READ_PUBLIC_FAILED@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_DHM_BAD_INPUT_DATA,4,2 ## @MBEDTLS_ERR_DHM_BAD_INPUT_DATA
	.comm	_MBEDTLS_ERR_DHM_READ_PUBLIC_FAILED,4,2 ## @MBEDTLS_ERR_DHM_READ_PUBLIC_FAILED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_dhm_read_public        ; -- Begin function mbedtls_dhm_read_public
	.p2align	2
_mbedtls_dhm_read_public:               ; @mbedtls_dhm_read_public
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_3
; %bb.1:
	cbz	x2, LBB0_3
; %bb.2:
	ldr	x8, [x0]
	cmp	x8, x2
	b.hs	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _MBEDTLS_ERR_DHM_BAD_INPUT_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ERR_DHM_BAD_INPUT_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	add	x0, x0, #8
	bl	_mbedtls_mpi_read_binary
	cbz	w0, LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _MBEDTLS_ERR_DHM_READ_PUBLIC_FAILED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MBEDTLS_ERR_DHM_READ_PUBLIC_FAILED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w0, w8, w0
LBB0_6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_DHM_BAD_INPUT_DATA,4,2 ; @MBEDTLS_ERR_DHM_BAD_INPUT_DATA
	.comm	_MBEDTLS_ERR_DHM_READ_PUBLIC_FAILED,4,2 ; @MBEDTLS_ERR_DHM_READ_PUBLIC_FAILED
.subsections_via_symbols
