	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function try_eprt
_try_eprt:                              ## @try_eprt
	.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	$24, %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)
	cmpq	$3, %rsi
	ja	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_3:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movsbl	(%rdi), %r12d
	movl	%r12d, %edi
	callq	_isdigit
	leal	-127(%r12), %ecx
	cmpb	$-94, %cl
	jb	LBB0_6
## %bb.4:
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	cmpb	%r12b, 2(%rbx)
	jne	LBB0_6
## %bb.7:
	movq	(%r14), %rax
	movq	_PF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	cmpb	$49, 1(%rbx)
	jne	LBB0_11
LBB0_9:
	movq	_PF_INET6@GOTPCREL(%rip), %rcx
	movsbl	1(%rbx), %edx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.10:
	cmpb	$50, %dl
	movl	$50, %edx
	jne	LBB0_11
LBB0_12:
	leaq	L_.str.3(%rip), %rdi
	movl	%r12d, %esi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_pr_debug
	cmpb	$49, 1(%rbx)
	jne	LBB0_15
## %bb.13:
	leaq	3(%rbx), %rdi
	leaq	-3(%r15), %rsi
	leaq	-64(%rbp), %rdx
	movl	$4, %ecx
	movl	$46, %r8d
	movl	%r12d, %r9d
	callq	_try_number
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_16
## %bb.14:
	movl	-64(%rbp), %eax
	movl	-60(%rbp), %ecx
	shll	$24, %eax
	shll	$16, %ecx
	orl	%eax, %ecx
	movl	-56(%rbp), %edi
	shll	$8, %edi
	orl	%ecx, %edi
	orl	-52(%rbp), %edi
	callq	_htonl
	movl	%eax, 24(%r14)
	jmp	LBB0_16
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_2
LBB0_15:
	leaq	3(%rbx), %rdi
	leaq	-3(%r15), %rsi
	movq	16(%r14), %rdx
	movl	%r12d, %ecx
	callq	_get_ipv6_addr
	movl	%eax, %r13d
LBB0_16:
	testl	%r13d, %r13d
	je	LBB0_17
## %bb.18:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	addl	$4, %r13d
	addq	$8, %r14
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	movq	%r14, %r8
	callq	_get_port
	movl	%eax, %ebx
	jmp	LBB0_19
LBB0_17:
	xorl	%ebx, %ebx
	jmp	LBB0_19
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EPRT: too short\n"

L_.str.1:                               ## @.str.1
	.asciz	"try_eprt: invalid delimitter.\n"

	.comm	_PF_INET,8,3                    ## @PF_INET
	.comm	_PF_INET6,8,3                   ## @PF_INET6
L_.str.2:                               ## @.str.2
	.asciz	"EPRT: invalid protocol number.\n"

L_.str.3:                               ## @.str.3
	.asciz	"EPRT: Got %c%c%c\n"

L_.str.4:                               ## @.str.4
	.asciz	"EPRT: Got IP address!\n"

	.no_dead_strip	_try_eprt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function try_eprt
_try_eprt:                              ; @try_eprt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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]
	str	x8, [sp, #40]
	subs	x23, x1, #3
	b.hi	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_13
LBB0_2:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldrsb	w22, [x0]
	mov	x0, x22
	bl	_isdigit
	sub	w8, w22, #127
	and	w8, w8, #0xff
	cmp	w8, #162
	ccmp	x0, #0, #0, hs
	b.ne	LBB0_12
; %bb.3:
	ldrb	w8, [x20, #2]
	cmp	w8, w22, uxtb
	b.ne	LBB0_12
; %bb.4:
	ldr	x9, [x21]
Lloh5:
	adrp	x8, _PF_INET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PF_INET@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldrb	w8, [x20, #1]
	cmp	w8, #49
	b.ne	LBB0_17
LBB0_6:
Lloh8:
	adrp	x8, _PF_INET6@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PF_INET6@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x8]
	ldrsb	w8, [x20, #1]
	cmp	x9, x10
	b.ne	LBB0_9
; %bb.7:
	cmp	w8, #50
	b.ne	LBB0_17
; %bb.8:
	mov	w8, #50
LBB0_9:
	stp	x8, x22, [sp, #8]
	str	x22, [sp]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_debug
	ldrb	w8, [x20, #1]
	add	x0, x20, #3
	cmp	w8, #49
	b.ne	LBB0_18
; %bb.10:
	add	x2, sp, #24
	mov	x1, x23
	mov	w3, #4
	mov	w4, #46
	mov	x5, x22
	bl	_try_number
	mov	x23, x0
	cbz	w0, LBB0_19
; %bb.11:
	ldp	w8, w9, [sp, #24]
	lsl	w9, w9, #16
	orr	w8, w9, w8, lsl #24
	ldp	w9, w10, [sp, #32]
	orr	w8, w8, w9, lsl #8
	orr	w0, w8, w10
	bl	_htonl
	str	w0, [x21, #24]
	b	LBB0_19
LBB0_12:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_13:
	bl	_pr_debug
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldr	x8, [sp, #40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_17:
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_18:
	ldr	x2, [x21, #16]
	mov	x1, x23
	mov	x3, x22
	bl	_get_ipv6_addr
	mov	x23, x0
LBB0_19:
	cbz	w23, LBB0_14
; %bb.20:
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_debug
	add	w1, w23, #4
	add	x4, x21, #8
	mov	x0, x20
	mov	x2, x19
	mov	x3, x22
	bl	_get_port
	b	LBB0_15
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EPRT: too short\n"

l_.str.1:                               ; @.str.1
	.asciz	"try_eprt: invalid delimitter.\n"

	.comm	_PF_INET,8,3                    ; @PF_INET
	.comm	_PF_INET6,8,3                   ; @PF_INET6
l_.str.2:                               ; @.str.2
	.asciz	"EPRT: invalid protocol number.\n"

l_.str.3:                               ; @.str.3
	.asciz	"EPRT: Got %c%c%c\n"

l_.str.4:                               ; @.str.4
	.asciz	"EPRT: Got IP address!\n"

	.no_dead_strip	_try_eprt
.subsections_via_symbols
