	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_host_and_port
_get_host_and_port:                     ## @get_host_and_port
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	$1, %esi
	callq	_host_end
	movq	%rax, -32(%rbp)
	movq	%rax, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r15
	movq	%rax, %rbx
	incq	%rbx
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtol
	movq	-32(%rbp), %rcx
	cmpq	%rbx, %rcx
	je	LBB0_6
## %bb.2:
	cmpb	$0, (%rcx)
	jne	LBB0_6
## %bb.3:
	testq	%rax, %rax
	js	LBB0_6
## %bb.4:
	cmpq	$65535, %rax                    ## imm = 0xFFFF
	jg	LBB0_6
## %bb.5:
	movb	$0, (%r15)
	movq	%rbx, (%r14)
	jmp	LBB0_8
LBB0_6:
	cmpb	$0, (%rbx)
	jne	LBB0_8
## %bb.7:
	movb	$0, (%r15)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_host_and_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_host_and_port
_get_host_and_port:                     ; @get_host_and_port
	.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, x1
	mov	w1, #1
	bl	_host_end
	str	x0, [sp, #8]
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	add	x21, x0, #1
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #10
	bl	_strtol
	ldr	x8, [sp, #8]
	cmp	x8, x21
	b.eq	LBB0_6
; %bb.2:
	ldrb	w8, [x8]
	cbnz	w8, LBB0_6
; %bb.3:
	tbnz	x0, #63, LBB0_6
; %bb.4:
	cmp	x0, #16, lsl #12                ; =65536
	b.ge	LBB0_6
; %bb.5:
	strb	wzr, [x20]
	str	x21, [x19]
	b	LBB0_8
LBB0_6:
	ldrb	w8, [x21]
	cbnz	w8, LBB0_8
; %bb.7:
	strb	wzr, [x20]
LBB0_8:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_host_and_port
.subsections_via_symbols
