	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_asn1_write_tag         ## -- Begin function mbedtls_asn1_write_tag
	.p2align	4, 0x90
_mbedtls_asn1_write_tag:                ## @mbedtls_asn1_write_tag
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	%rax, %rcx
	subq	%rsi, %rcx
	testq	%rcx, %rcx
	jle	LBB0_1
## %bb.2:
	leaq	-1(%rax), %rcx
	movq	%rcx, (%rdi)
	movb	%dl, -1(%rax)
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_MBEDTLS_ERR_ASN1_BUF_TOO_SMALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_ASN1_BUF_TOO_SMALL,4,2 ## @MBEDTLS_ERR_ASN1_BUF_TOO_SMALL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_asn1_write_tag         ; -- Begin function mbedtls_asn1_write_tag
	.p2align	2
_mbedtls_asn1_write_tag:                ; @mbedtls_asn1_write_tag
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	sub	x9, x8, x1
	cmp	x9, #0
	b.le	LBB0_2
; %bb.1:
	sub	x9, x8, #1
	str	x9, [x0]
	sturb	w2, [x8, #-1]
	mov	w0, #1
	ret
LBB0_2:
Lloh0:
	adrp	x8, _MBEDTLS_ERR_ASN1_BUF_TOO_SMALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ERR_ASN1_BUF_TOO_SMALL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_ASN1_BUF_TOO_SMALL,4,2 ; @MBEDTLS_ERR_ASN1_BUF_TOO_SMALL
.subsections_via_symbols
