	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_parse_hostserv             ## -- Begin function BIO_parse_hostserv
	.p2align	4, 0x90
_BIO_parse_hostserv:                    ## @BIO_parse_hostserv
	.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	%rdx, %r15
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	cmpb	$91, (%rdi)
	jne	LBB0_6
## %bb.1:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	$93, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_25
## %bb.2:
	movq	%rax, %rbx
	incq	%r13
	movq	%rax, %r12
	subq	%r13, %r12
	movb	1(%rax), %al
	testb	%al, %al
	je	LBB0_3
## %bb.4:
	cmpb	$58, %al
	jne	LBB0_25
## %bb.5:
	addq	$2, %rbx
	jmp	LBB0_9
LBB0_6:
	movl	%ecx, %r14d
	movq	%r13, %rdi
	movl	$58, %esi
	callq	_strrchr
	movq	%rax, %rbx
	movq	%r13, %rdi
	movl	$58, %esi
	callq	_strchr
	cmpq	%rbx, %rax
	je	LBB0_7
## %bb.24:
	movq	_BIO_F_BIO_PARSE_HOSTSERV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BIO_R_AMBIGUOUS_HOST_OR_SERVICE@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_7:
	testq	%rbx, %rbx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_30
## %bb.8:
	movq	%rbx, %r12
	subq	%r13, %r12
	incq	%rbx
LBB0_9:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %r14
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %r12
	movq	%rbx, %r13
LBB0_10:
	movq	%r13, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_11
LBB0_25:
	movq	_BIO_F_BIO_PARSE_HOSTSERV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BIO_R_MALFORMED_HOST_OR_SERVICE@GOTPCREL(%rip), %rax
LBB0_28:
	movl	(%rax), %esi
	callq	_BIOerr
	xorl	%ebx, %ebx
LBB0_29:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	xorl	%edi, %edi
	jmp	LBB0_12
LBB0_11:
	movb	$1, %r15b
	movq	%r12, %rsi
	movq	%r13, %rdi
	movq	%r14, %r12
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_30:
	movq	_BIO_PARSE_PRIO_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_strlen
	movq	%rax, %r12
	movl	$0, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$0, %r15d
	movl	$0, %esi
	movl	$0, %edi
	cmpl	%r14d, %ebx
	movl	$0, %r14d
	jne	LBB0_10
LBB0_12:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.13:
	testq	%r13, %r13
	je	LBB0_19
## %bb.14:
	testq	%r12, %r12
	je	LBB0_17
## %bb.15:
	cmpq	$1, %r12
	jne	LBB0_18
## %bb.16:
	cmpb	$42, (%r13)
	jne	LBB0_18
LBB0_17:
	movq	$0, (%rbx)
	jmp	LBB0_19
LBB0_18:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%rsi, %r14
	movq	%r12, %rsi
	callq	_OPENSSL_strndup
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_27
LBB0_19:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	sete	%al
	xorb	$1, %r15b
	movl	$1, %ebx
	orb	%al, %r15b
	jne	LBB0_29
## %bb.20:
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.21:
	cmpq	$1, %rsi
	jne	LBB0_26
## %bb.22:
	cmpb	$42, (%rdi)
	jne	LBB0_26
LBB0_23:
	movq	$0, (%r14)
	jmp	LBB0_29
LBB0_26:
	callq	_OPENSSL_strndup
	movq	%rax, (%r14)
	testq	%rax, %rax
	jne	LBB0_29
LBB0_27:
	movq	_BIO_F_BIO_PARSE_HOSTSERV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_PARSE_PRIO_HOST,4,2        ## @BIO_PARSE_PRIO_HOST
	.comm	_BIO_F_BIO_PARSE_HOSTSERV,4,2   ## @BIO_F_BIO_PARSE_HOSTSERV
	.comm	_BIO_R_AMBIGUOUS_HOST_OR_SERVICE,4,2 ## @BIO_R_AMBIGUOUS_HOST_OR_SERVICE
	.comm	_BIO_R_MALFORMED_HOST_OR_SERVICE,4,2 ## @BIO_R_MALFORMED_HOST_OR_SERVICE
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_parse_hostserv             ; -- Begin function BIO_parse_hostserv
	.p2align	2
_BIO_parse_hostserv:                    ; @BIO_parse_hostserv
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldrb	w8, [x0]
	cmp	w8, #91
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x21
	mov	w1, #93
	bl	_strchr
	cbz	x0, LBB0_11
; %bb.2:
	add	x21, x21, #1
	sub	x23, x0, x21
	ldrb	w8, [x0, #1]
	cbz	w8, LBB0_14
; %bb.3:
	cmp	w8, #58
	b.ne	LBB0_11
; %bb.4:
	add	x22, x0, #2
	b	LBB0_9
LBB0_5:
	mov	x22, x3
	mov	x0, x21
	mov	w1, #58
	bl	_strrchr
	mov	x24, x0
	mov	x0, x21
	mov	w1, #58
	bl	_strchr
	cmp	x0, x24
	b.eq	LBB0_7
; %bb.6:
Lloh0:
	adrp	x8, _BIO_F_BIO_PARSE_HOSTSERV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BIO_F_BIO_PARSE_HOSTSERV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _BIO_R_AMBIGUOUS_HOST_OR_SERVICE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BIO_R_AMBIGUOUS_HOST_OR_SERVICE@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
	cbz	x24, LBB0_16
; %bb.8:
	sub	x23, x24, x21
	add	x22, x24, #1
LBB0_9:
	mov	x0, x22
	bl	_strlen
	mov	x25, x0
LBB0_10:
	mov	x0, x22
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_15
LBB0_11:
Lloh5:
	adrp	x8, _BIO_F_BIO_PARSE_HOSTSERV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BIO_F_BIO_PARSE_HOSTSERV@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _BIO_R_MALFORMED_HOST_OR_SERVICE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BIO_R_MALFORMED_HOST_OR_SERVICE@GOTPAGEOFF]
LBB0_12:
	ldr	w1, [x8]
	bl	_BIOerr
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	w26, #0
	mov	x24, #0
	mov	x22, #0
	cbnz	x20, LBB0_18
	b	LBB0_24
LBB0_15:
	mov	w26, #1
	mov	x24, x25
	cbnz	x20, LBB0_18
	b	LBB0_24
LBB0_16:
Lloh10:
	adrp	x8, _BIO_PARSE_PRIO_HOST@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BIO_PARSE_PRIO_HOST@GOTPAGEOFF]
Lloh12:
	ldr	w25, [x8]
	mov	x0, x21
	bl	_strlen
	mov	x23, x0
	cmp	w25, w22
	b.ne	LBB0_32
; %bb.17:
	mov	w26, #0
	mov	x22, x24
	cbz	x20, LBB0_24
LBB0_18:
	cbz	x21, LBB0_24
; %bb.19:
	cbz	x23, LBB0_22
; %bb.20:
	cmp	x23, #1
	b.ne	LBB0_23
; %bb.21:
	ldrb	w8, [x21]
	cmp	w8, #42
	b.ne	LBB0_23
LBB0_22:
	str	xzr, [x20]
	b	LBB0_24
LBB0_23:
	mov	x0, x21
	mov	x1, x23
	bl	_OPENSSL_strndup
	str	x0, [x20]
	cbz	x0, LBB0_31
LBB0_24:
	cmp	x19, #0
	cset	w8, eq
	eor	w9, w26, #0x1
	orr	w8, w8, w9
	tbnz	w8, #0, LBB0_30
; %bb.25:
	cbz	x24, LBB0_28
; %bb.26:
	cmp	x24, #1
	b.ne	LBB0_29
; %bb.27:
	ldrb	w8, [x22]
	cmp	w8, #42
	b.ne	LBB0_29
LBB0_28:
	str	xzr, [x19]
	b	LBB0_30
LBB0_29:
	mov	x0, x22
	mov	x1, x24
	bl	_OPENSSL_strndup
	str	x0, [x19]
	cbz	x0, LBB0_31
LBB0_30:
	mov	w0, #1
	b	LBB0_13
LBB0_31:
Lloh13:
	adrp	x8, _BIO_F_BIO_PARSE_HOSTSERV@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BIO_F_BIO_PARSE_HOSTSERV@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
	b	LBB0_12
LBB0_32:
	mov	x25, x23
	mov	x22, x21
	mov	x23, x24
	mov	x21, x24
	b	LBB0_10
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_PARSE_PRIO_HOST,4,2        ; @BIO_PARSE_PRIO_HOST
	.comm	_BIO_F_BIO_PARSE_HOSTSERV,4,2   ; @BIO_F_BIO_PARSE_HOSTSERV
	.comm	_BIO_R_AMBIGUOUS_HOST_OR_SERVICE,4,2 ; @BIO_R_AMBIGUOUS_HOST_OR_SERVICE
	.comm	_BIO_R_MALFORMED_HOST_OR_SERVICE,4,2 ; @BIO_R_MALFORMED_HOST_OR_SERVICE
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
