	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x509_get_attribute
_x509_get_attribute:                    ## @x509_get_attribute
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	_ASN1_CONSTRUCTED@GOTPCREL(%rip), %rax
	movq	_ASN1_SEQUENCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	-36(%rbp), %rdx
	callq	_asn1_get_tag
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movslq	-36(%rbp), %r15
	addq	(%rbx), %r15
	leaq	48(%r14), %rdx
	movq	_ASN1_OID@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_asn1_get_tag
	testq	%rax, %rax
	jne	LBB0_1
## %bb.3:
	movl	(%r12), %eax
	movl	%eax, 32(%r14)
	movq	(%rbx), %rax
	movq	%rax, 40(%r14)
	movslq	48(%r14), %rax
	addq	(%rbx), %rax
	movq	%rax, (%rbx)
	movq	%r15, %rcx
	subq	%rax, %rcx
	testq	%rcx, %rcx
	jle	LBB0_4
## %bb.6:
	movb	(%rax), %cl
	movq	_ASN1_BMP_STRING@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	je	LBB0_13
## %bb.7:
	movq	_ASN1_UTF8_STRING@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	je	LBB0_13
## %bb.8:
	movq	_ASN1_T61_STRING@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	je	LBB0_13
## %bb.9:
	movq	_ASN1_PRINTABLE_STRING@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	je	LBB0_13
## %bb.10:
	movq	_ASN1_IA5_STRING@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	je	LBB0_13
## %bb.11:
	movq	_ASN1_UNIVERSAL_STRING@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	je	LBB0_13
## %bb.12:
	movq	_SVN_ERR_ASN1_UNEXPECTED_TAG@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_SVN_ERR_ASN1_OUT_OF_DATA@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_svn_error_create
	jmp	LBB0_1
LBB0_13:
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	movzbl	(%rax), %eax
	movl	%eax, 8(%r14)
	leaq	24(%r14), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_asn1_get_len
	testq	%rax, %rax
	je	LBB0_14
LBB0_1:
	movq	_SVN_ERR_X509_CERT_INVALID_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_svn_error_create
LBB0_17:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	(%rbx), %rax
	movq	%rax, 16(%r14)
	movslq	24(%r14), %rax
	addq	%rax, (%rbx)
	movq	$0, (%r14)
	cmpq	%r15, (%rbx)
	je	LBB0_16
## %bb.15:
	movq	_SVN_ERR_ASN1_LENGTH_MISMATCH@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_16:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_CONSTRUCTED,4,2           ## @ASN1_CONSTRUCTED
	.comm	_ASN1_SEQUENCE,4,2              ## @ASN1_SEQUENCE
	.comm	_SVN_ERR_X509_CERT_INVALID_NAME,4,2 ## @SVN_ERR_X509_CERT_INVALID_NAME
	.comm	_ASN1_OID,4,2                   ## @ASN1_OID
	.comm	_SVN_ERR_ASN1_OUT_OF_DATA,4,2   ## @SVN_ERR_ASN1_OUT_OF_DATA
	.comm	_ASN1_BMP_STRING,1,0            ## @ASN1_BMP_STRING
	.comm	_ASN1_UTF8_STRING,1,0           ## @ASN1_UTF8_STRING
	.comm	_ASN1_T61_STRING,1,0            ## @ASN1_T61_STRING
	.comm	_ASN1_PRINTABLE_STRING,1,0      ## @ASN1_PRINTABLE_STRING
	.comm	_ASN1_IA5_STRING,1,0            ## @ASN1_IA5_STRING
	.comm	_ASN1_UNIVERSAL_STRING,1,0      ## @ASN1_UNIVERSAL_STRING
	.comm	_SVN_ERR_ASN1_UNEXPECTED_TAG,4,2 ## @SVN_ERR_ASN1_UNEXPECTED_TAG
	.comm	_SVN_ERR_ASN1_LENGTH_MISMATCH,4,2 ## @SVN_ERR_ASN1_LENGTH_MISMATCH
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_x509_get_attribute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x509_get_attribute
_x509_get_attribute:                    ; @x509_get_attribute
	.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
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _ASN1_CONSTRUCTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASN1_CONSTRUCTED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ASN1_SEQUENCE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ASN1_SEQUENCE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x2, sp, #12
	bl	_asn1_get_tag
	cbnz	x0, LBB0_13
; %bb.1:
	ldr	x8, [x20]
	ldrsw	x9, [sp, #12]
	add	x21, x8, x9
	add	x2, x19, #48
Lloh6:
	adrp	x22, _ASN1_OID@GOTPAGE
Lloh7:
	ldr	x22, [x22, _ASN1_OID@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x20
	mov	x1, x21
	bl	_asn1_get_tag
	cbnz	x0, LBB0_13
; %bb.2:
	ldr	w8, [x22]
	str	w8, [x19, #32]
	ldr	x8, [x20]
	str	x8, [x19, #40]
	ldrsw	x8, [x19, #48]
	ldr	x9, [x20]
	add	x8, x9, x8
	sub	x9, x21, x8
	str	x8, [x20]
	cmp	x9, #0
	b.le	LBB0_10
; %bb.3:
	ldrb	w9, [x8]
Lloh8:
	adrp	x10, _ASN1_BMP_STRING@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ASN1_BMP_STRING@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_12
; %bb.4:
Lloh10:
	adrp	x10, _ASN1_UTF8_STRING@GOTPAGE
Lloh11:
	ldr	x10, [x10, _ASN1_UTF8_STRING@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_12
; %bb.5:
Lloh12:
	adrp	x10, _ASN1_T61_STRING@GOTPAGE
Lloh13:
	ldr	x10, [x10, _ASN1_T61_STRING@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_12
; %bb.6:
Lloh14:
	adrp	x10, _ASN1_PRINTABLE_STRING@GOTPAGE
Lloh15:
	ldr	x10, [x10, _ASN1_PRINTABLE_STRING@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_12
; %bb.7:
Lloh16:
	adrp	x10, _ASN1_IA5_STRING@GOTPAGE
Lloh17:
	ldr	x10, [x10, _ASN1_IA5_STRING@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_12
; %bb.8:
Lloh18:
	adrp	x10, _ASN1_UNIVERSAL_STRING@GOTPAGE
Lloh19:
	ldr	x10, [x10, _ASN1_UNIVERSAL_STRING@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_12
; %bb.9:
Lloh20:
	adrp	x8, _SVN_ERR_ASN1_UNEXPECTED_TAG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SVN_ERR_ASN1_UNEXPECTED_TAG@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh22:
	adrp	x8, _SVN_ERR_ASN1_OUT_OF_DATA@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SVN_ERR_ASN1_OUT_OF_DATA@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	mov	x1, #0
	mov	x2, #0
	bl	_svn_error_create
	b	LBB0_13
LBB0_12:
	add	x9, x8, #1
	str	x9, [x20]
	ldrb	w8, [x8]
	str	w8, [x19, #8]
	add	x2, x19, #24
	mov	x0, x20
	mov	x1, x21
	bl	_asn1_get_len
	cbz	x0, LBB0_15
LBB0_13:
	mov	x1, x0
Lloh24:
	adrp	x8, _SVN_ERR_X509_CERT_INVALID_NAME@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SVN_ERR_X509_CERT_INVALID_NAME@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x2, #0
	bl	_svn_error_create
LBB0_14:
	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
LBB0_15:
	ldr	x8, [x20]
	str	x8, [x19, #16]
	ldrsw	x8, [x19, #24]
	ldr	x9, [x20]
	add	x8, x9, x8
	str	x8, [x20]
	str	xzr, [x19]
	ldr	x8, [x20]
	cmp	x8, x21
	b.eq	LBB0_17
; %bb.16:
Lloh27:
	adrp	x8, _SVN_ERR_ASN1_LENGTH_MISMATCH@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SVN_ERR_ASN1_LENGTH_MISMATCH@GOTPAGEOFF]
	b	LBB0_11
LBB0_17:
Lloh29:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh31:
	ldr	x0, [x8]
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_CONSTRUCTED,4,2           ; @ASN1_CONSTRUCTED
	.comm	_ASN1_SEQUENCE,4,2              ; @ASN1_SEQUENCE
	.comm	_SVN_ERR_X509_CERT_INVALID_NAME,4,2 ; @SVN_ERR_X509_CERT_INVALID_NAME
	.comm	_ASN1_OID,4,2                   ; @ASN1_OID
	.comm	_SVN_ERR_ASN1_OUT_OF_DATA,4,2   ; @SVN_ERR_ASN1_OUT_OF_DATA
	.comm	_ASN1_BMP_STRING,1,0            ; @ASN1_BMP_STRING
	.comm	_ASN1_UTF8_STRING,1,0           ; @ASN1_UTF8_STRING
	.comm	_ASN1_T61_STRING,1,0            ; @ASN1_T61_STRING
	.comm	_ASN1_PRINTABLE_STRING,1,0      ; @ASN1_PRINTABLE_STRING
	.comm	_ASN1_IA5_STRING,1,0            ; @ASN1_IA5_STRING
	.comm	_ASN1_UNIVERSAL_STRING,1,0      ; @ASN1_UNIVERSAL_STRING
	.comm	_SVN_ERR_ASN1_UNEXPECTED_TAG,4,2 ; @SVN_ERR_ASN1_UNEXPECTED_TAG
	.comm	_SVN_ERR_ASN1_LENGTH_MISMATCH,4,2 ; @SVN_ERR_ASN1_LENGTH_MISMATCH
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_x509_get_attribute
.subsections_via_symbols
