	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bracket_addr_ok
_bracket_addr_ok:                       ## @bracket_addr_ok
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	3(%rdi), %rax
	xorl	%r14d, %r14d
	cmpq	%rsi, %rax
	ja	LBB0_22
## %bb.1:
	movq	%rdi, %rbx
	cmpb	$91, (%rdi)
	jne	LBB0_22
## %bb.2:
	movq	%rsi, %r13
	cmpb	$93, -1(%rsi)
	jne	LBB0_22
## %bb.3:
	cmpb	$118, 1(%rbx)
	jne	LBB0_20
## %bb.4:
	movsbl	2(%rbx), %edi
	callq	_EVUTIL_ISXDIGIT_
	testq	%rax, %rax
	je	LBB0_22
## %bb.5:
	leaq	-1(%r13), %rax
	leaq	2(%rbx), %r12
	cmpq	%rax, %r12
	jae	LBB0_12
## %bb.6:
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	notq	%rax
	addq	%r13, %rax
	addq	%rbx, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%r13, %r15
	subq	%rbx, %r15
	addq	$-3, %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12), %eax
	cmpb	$46, %al
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movsbl	%al, %edi
	callq	_EVUTIL_ISXDIGIT_
	testq	%rax, %rax
	je	LBB0_22
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	incq	%r12
	decq	%r15
	jne	LBB0_7
## %bb.11:
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	-120(%rbp), %rax                ## 8-byte Reload
LBB0_12:
	cmpb	$46, (%r12)
	je	LBB0_13
	jmp	LBB0_22
LBB0_20:
	subl	%ebx, %r13d
	addl	$-2, %r13d
	xorl	%r14d, %r14d
	cmpl	$63, %r13d
	jg	LBB0_22
## %bb.21:
	incq	%rbx
	leaq	-112(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movslq	%r13d, %rax
	movb	$0, -112(%rbp,%rax)
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-136(%rbp), %rdx
	movq	%r14, %rsi
	callq	_evutil_inet_pton
	xorl	%r14d, %r14d
	cmpl	$1, %eax
	sete	%r14b
	jmp	LBB0_22
LBB0_8:
	movq	-120(%rbp), %rax                ## 8-byte Reload
LBB0_13:
	leaq	1(%r12), %r15
	movl	$2, %r14d
	cmpq	%rax, %r15
	jae	LBB0_22
## %bb.14:
	subq	%r12, %r13
	addq	$-2, %r13
	xorl	%ebx, %ebx
	movq	_SUBDELIMS@GOTPCREL(%rip), %r12
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%rbx
	cmpq	%rbx, %r13
	je	LBB0_22
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r15,%rbx), %edi
	callq	_CHAR_IS_UNRESERVED
	testq	%rax, %rax
	jne	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	(%r12), %edi
	movsbl	(%r15,%rbx), %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpb	$58, (%r15,%rbx)
	je	LBB0_19
## %bb.18:
	xorl	%r14d, %r14d
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	movl	%r14d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SUBDELIMS,4,2                  ## @SUBDELIMS
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.no_dead_strip	_bracket_addr_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bracket_addr_ok
_bracket_addr_ok:                       ; @bracket_addr_ok
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	add	x8, x0, #3
	cmp	x8, x1
	b.hi	LBB0_19
; %bb.1:
	mov	x20, x0
	ldrb	w8, [x0]
	cmp	w8, #91
	b.ne	LBB0_19
; %bb.2:
	mov	x19, x1
	mov	x21, x1
	ldrb	w8, [x21, #-1]!
	cmp	w8, #93
	b.ne	LBB0_19
; %bb.3:
	mov	x1, x20
	ldrb	w8, [x1, #1]!
	cmp	w8, #118
	b.ne	LBB0_18
; %bb.4:
	mov	x22, x20
	ldrsb	w0, [x22, #2]!
	bl	_EVUTIL_ISXDIGIT_
	cbz	x0, LBB0_20
; %bb.5:
	cmp	x22, x21
	b.hs	LBB0_11
; %bb.6:
	mvn	x8, x20
	add	x8, x8, x19
	add	x23, x20, x8
	sub	x8, x19, x20
	sub	x20, x8, #3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x22]
	cmp	w8, #46
	b.eq	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sxtb	w0, w8
	bl	_EVUTIL_ISXDIGIT_
	cbz	x0, LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	subs	x20, x20, #1
	b.ne	LBB0_7
; %bb.10:
	mov	x22, x23
LBB0_11:
	ldrb	w8, [x22]
	cmp	w8, #46
	b.ne	LBB0_19
LBB0_12:
	add	x20, x22, #1
	cmp	x20, x21
	b.hs	LBB0_23
; %bb.13:
	sub	x8, x19, x22
	sub	x19, x8, #2
Lloh3:
	adrp	x21, _SUBDELIMS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SUBDELIMS@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x20, x20, #1
	mov	w0, #2
	subs	x19, x19, #1
	b.eq	LBB0_20
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x20]
	bl	_CHAR_IS_UNRESERVED
	cbnz	x0, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w0, [x21]
	ldrsb	w1, [x20]
	bl	_strchr
	cbnz	x0, LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldrb	w8, [x20]
	cmp	w8, #58
	b.eq	LBB0_14
	b	LBB0_19
LBB0_18:
	sub	w8, w19, w20
	sub	w19, w8, #2
	cmp	w19, #63
	b.le	LBB0_22
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldur	x8, [x29, #-56]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.21:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_22:
	add	x20, sp, #8
	add	x0, sp, #8
	mov	x2, x19
	bl	_memcpy
	strb	wzr, [x20, w19, sxtw]
Lloh8:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, sp, #8
	mov	x2, sp
	bl	_evutil_inet_pton
	cmp	w0, #1
	cset	w0, eq
	b	LBB0_20
LBB0_23:
	mov	w0, #2
	b	LBB0_20
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SUBDELIMS,4,2                  ; @SUBDELIMS
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.no_dead_strip	_bracket_addr_ok
.subsections_via_symbols
