	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nc_uri
_nc_uri:                                ## @nc_uri
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	8(%rsi), %r14
	movq	8(%rdi), %rdi
	movl	$58, %esi
	callq	_strchr
	movq	_X509_V_ERR_UNSUPPORTED_NAME_SYNTAX@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	%rax, %rbx
	cmpb	$47, 1(%rax)
	jne	LBB0_15
## %bb.2:
	cmpb	$47, 2(%rbx)
	jne	LBB0_15
## %bb.3:
	addq	$3, %rbx
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_14
LBB0_5:
	subl	%ebx, %eax
	testl	%eax, %eax
	je	LBB0_15
LBB0_6:
	cmpb	$46, (%r14)
	movslq	(%r15), %rdx
	jne	LBB0_11
## %bb.7:
	cmpl	%edx, %eax
	jle	LBB0_10
## %bb.8:
	cltq
	addq	%rax, %rbx
	subq	%rdx, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_9
LBB0_11:
	cmpl	%eax, %edx
	jne	LBB0_10
## %bb.12:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
LBB0_9:
	callq	_ia5ncasecmp
	testq	%rax, %rax
	je	LBB0_13
LBB0_10:
	movq	_X509_V_ERR_PERMITTED_VIOLATION@GOTPCREL(%rip), %r12
	jmp	LBB0_15
LBB0_14:
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jne	LBB0_6
	jmp	LBB0_15
LBB0_13:
	movq	_X509_V_OK@GOTPCREL(%rip), %r12
LBB0_15:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_V_ERR_UNSUPPORTED_NAME_SYNTAX,4,2 ## @X509_V_ERR_UNSUPPORTED_NAME_SYNTAX
	.comm	_X509_V_OK,4,2                  ## @X509_V_OK
	.comm	_X509_V_ERR_PERMITTED_VIOLATION,4,2 ## @X509_V_ERR_PERMITTED_VIOLATION
	.no_dead_strip	_nc_uri
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nc_uri
_nc_uri:                                ; @nc_uri
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x1
	ldr	x19, [x1, #8]
	ldr	x0, [x0, #8]
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_13
; %bb.1:
	ldrb	w8, [x0, #1]
	cmp	w8, #47
	b.ne	LBB0_13
; %bb.2:
	ldrb	w8, [x0, #2]
	cmp	w8, #47
	b.ne	LBB0_13
; %bb.3:
	add	x20, x0, #3
	mov	x0, x20
	mov	w1, #58
	bl	_strchr
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_12
LBB0_5:
	sub	w2, w0, w20
	cbz	w2, LBB0_13
LBB0_6:
	ldrb	w9, [x19]
	ldrsw	x8, [x21]
	cmp	w9, #46
	b.ne	LBB0_10
; %bb.7:
	cmp	w2, w8
	b.le	LBB0_9
; %bb.8:
	add	x9, x20, w2, sxtw
	sub	x0, x9, x8
	mov	x1, x19
	mov	x2, x8
	bl	_ia5ncasecmp
	cbz	x0, LBB0_15
LBB0_9:
Lloh0:
	adrp	x21, _X509_V_ERR_PERMITTED_VIOLATION@GOTPAGE
Lloh1:
	ldr	x21, [x21, _X509_V_ERR_PERMITTED_VIOLATION@GOTPAGEOFF]
	b	LBB0_14
LBB0_10:
Lloh2:
	adrp	x21, _X509_V_ERR_PERMITTED_VIOLATION@GOTPAGE
Lloh3:
	ldr	x21, [x21, _X509_V_ERR_PERMITTED_VIOLATION@GOTPAGEOFF]
	cmp	w8, w2
	b.ne	LBB0_14
; %bb.11:
	mov	x0, x20
	mov	x1, x19
	bl	_ia5ncasecmp
Lloh4:
	adrp	x8, _X509_V_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _X509_V_OK@GOTPAGEOFF]
	cmp	x0, #0
	csel	x21, x8, x21, eq
	b	LBB0_14
LBB0_12:
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	cbnz	w2, LBB0_6
LBB0_13:
Lloh6:
	adrp	x21, _X509_V_ERR_UNSUPPORTED_NAME_SYNTAX@GOTPAGE
Lloh7:
	ldr	x21, [x21, _X509_V_ERR_UNSUPPORTED_NAME_SYNTAX@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh8:
	adrp	x21, _X509_V_OK@GOTPAGE
Lloh9:
	ldr	x21, [x21, _X509_V_OK@GOTPAGEOFF]
	b	LBB0_14
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_V_ERR_UNSUPPORTED_NAME_SYNTAX,4,2 ; @X509_V_ERR_UNSUPPORTED_NAME_SYNTAX
	.comm	_X509_V_OK,4,2                  ; @X509_V_OK
	.comm	_X509_V_ERR_PERMITTED_VIOLATION,4,2 ; @X509_V_ERR_PERMITTED_VIOLATION
	.no_dead_strip	_nc_uri
.subsections_via_symbols
