	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x509_info_subject_alt_name
_x509_info_subject_alt_name:            ## @x509_info_subject_alt_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %r9
	movq	(%rdi), %rax
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.1:
	leaq	L_.str(%rip), %r11
	movb	$1, %r10b
	xorl	%r14d, %r14d
	leaq	L_.str.1(%rip), %r8
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdx), %rdx
	movl	$2, %ebx
	movb	$1, %r14b
	xorl	%r10d, %r10d
	movq	%r8, %r11
	testq	%rdx, %rdx
	je	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	8(%rdx), %rcx
	addq	%rcx, %rbx
	subq	%rbx, %r9
	jbe	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %r14b
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	(%r11), %cl
	movb	%cl, (%rax)
	testb	$1, %r10b
	je	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movb	1(%r11), %cl
	movb	%cl, 1(%rax)
	addq	$2, %rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdx), %rcx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rdx), %rbx
	movzbl	(%rbx,%rcx,4), %ebx
	movb	%bl, (%rax,%rcx)
	incq	%rcx
	cmpq	8(%rdx), %rcx
	jb	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	%rcx, %rax
	jmp	LBB0_12
LBB0_13:
	movb	$0, (%rax)
	movq	%r9, (%rsi)
	movq	%rax, (%rdi)
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_3:
	movb	$0, (%rax)
	movq	_MBEDTLS_ERR_X509_BUFFER_TOO_SMALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_MBEDTLS_ERR_X509_BUFFER_TOO_SMALL,4,2 ## @MBEDTLS_ERR_X509_BUFFER_TOO_SMALL
L_.str.1:                               ## @.str.1
	.asciz	", "

	.no_dead_strip	_x509_info_subject_alt_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x509_info_subject_alt_name
_x509_info_subject_alt_name:            ; @x509_info_subject_alt_name
	.cfi_startproc
; %bb.0:
	ldr	x9, [x1]
	ldr	x10, [x0]
	cbz	x2, LBB0_13
; %bb.1:
	mov	w13, #0
	mov	x14, #0
Lloh0:
	adrp	x12, l_.str@PAGE
Lloh1:
	add	x12, x12, l_.str@PAGEOFF
	mov	w11, #1
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w11, #0
	ldr	x2, [x2]
	mov	w13, #1
	mov	w14, #2
	mov	x12, x8
	cbz	x2, LBB0_13
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x15, [x2, #8]
	add	x14, x15, x14
	subs	x9, x9, x14
	b.ls	LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	tbz	w13, #0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w14, [x12]
	mov	x13, x10
	strb	w14, [x13], #1
	tbz	w11, #0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x10, x13
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w11, [x12, #1]
	strb	w11, [x10, #1]
	add	x10, x10, #2
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x15, [x2, #8]
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	x15, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x11, #0
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x2, #16]
	ldr	w12, [x12, x11, lsl #2]
	strb	w12, [x10, x11]
	add	x11, x11, #1
	ldr	x12, [x2, #8]
	cmp	x11, x12
	b.lo	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, x11
	b	LBB0_2
LBB0_13:
	strb	wzr, [x10]
	str	x9, [x1]
	str	x10, [x0]
	mov	w0, #0
	ret
LBB0_14:
	strb	wzr, [x10]
Lloh4:
	adrp	x8, _MBEDTLS_ERR_X509_BUFFER_TOO_SMALL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_BUFFER_TOO_SMALL@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_MBEDTLS_ERR_X509_BUFFER_TOO_SMALL,4,2 ; @MBEDTLS_ERR_X509_BUFFER_TOO_SMALL
l_.str.1:                               ; @.str.1
	.asciz	", "

	.no_dead_strip	_x509_info_subject_alt_name
.subsections_via_symbols
