	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_x509_get_sig           ## -- Begin function mbedtls_x509_get_sig
	.p2align	4, 0x90
_mbedtls_x509_get_sig:                  ## @mbedtls_x509_get_sig
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	%rsi, %rcx
	subq	%rax, %rcx
	testq	%rcx, %rcx
	jle	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movzbl	(%rax), %r15d
	leaq	-32(%rbp), %rdx
	callq	_mbedtls_asn1_get_bitstring_null
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_MBEDTLS_ERR_X509_INVALID_SIGNATURE@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jmp	LBB0_5
LBB0_1:
	movq	_MBEDTLS_ERR_X509_INVALID_SIGNATURE@GOTPCREL(%rip), %rcx
	movq	_MBEDTLS_ERR_ASN1_OUT_OF_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	(%rcx), %eax
	jmp	LBB0_5
LBB0_4:
	movl	%r15d, (%r14)
	movq	-32(%rbp), %rax
	movq	%rax, 8(%r14)
	movq	(%rbx), %rcx
	movq	%rcx, 16(%r14)
	addq	%rax, (%rbx)
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_X509_INVALID_SIGNATURE,4,2 ## @MBEDTLS_ERR_X509_INVALID_SIGNATURE
	.comm	_MBEDTLS_ERR_ASN1_OUT_OF_DATA,4,2 ## @MBEDTLS_ERR_ASN1_OUT_OF_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_x509_get_sig           ; -- Begin function mbedtls_x509_get_sig
	.p2align	2
_mbedtls_x509_get_sig:                  ; @mbedtls_x509_get_sig
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x8, [x0]
	sub	x9, x1, x8
	cmp	x9, #0
	b.le	LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x19, x0
	ldrb	w21, [x8]
	add	x2, sp, #8
	bl	_mbedtls_asn1_get_bitstring_null
	cbz	w0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _MBEDTLS_ERR_X509_INVALID_SIGNATURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_INVALID_SIGNATURE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w0, w8, w0
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _MBEDTLS_ERR_X509_INVALID_SIGNATURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_INVALID_SIGNATURE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MBEDTLS_ERR_ASN1_OUT_OF_DATA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MBEDTLS_ERR_ASN1_OUT_OF_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	add	w0, w9, w8
	b	LBB0_5
LBB0_4:
	str	w21, [x20]
	ldr	x8, [sp, #8]
	ldr	x9, [x19]
	stp	x8, x9, [x20, #8]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_X509_INVALID_SIGNATURE,4,2 ; @MBEDTLS_ERR_X509_INVALID_SIGNATURE
	.comm	_MBEDTLS_ERR_ASN1_OUT_OF_DATA,4,2 ; @MBEDTLS_ERR_ASN1_OUT_OF_DATA
.subsections_via_symbols
