	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_openssl_get_url_name
_php_openssl_get_url_name:              ## @php_openssl_get_url_name
	.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
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movl	%edx, %r14d
	callq	_php_url_parse_ex
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %r15
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.3:
	callq	_ZSTR_VAL
	movq	%rax, %rbx
	movq	(%r15), %rdi
	callq	_ZSTR_LEN
	incq	%rax
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$1, %rax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	-1(%rax), %rsi
	cmpb	$46, -2(%rbx,%rax)
	movq	%rsi, %rax
	je	LBB0_4
## %bb.6:
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_pestrndup
	movq	%rax, %r12
	jmp	LBB0_10
LBB0_8:
	xorl	%r12d, %r12d
	jmp	LBB0_11
LBB0_9:
	xorl	%r12d, %r12d
LBB0_10:
	movq	%r15, %rdi
	callq	_php_url_free
LBB0_11:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_php_openssl_get_url_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_openssl_get_url_name
_php_openssl_get_url_name:              ; @php_openssl_get_url_name
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x2
	bl	_php_url_parse_ex
	cbz	x0, LBB0_7
; %bb.2:
	mov	x19, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_8
; %bb.3:
	bl	_ZSTR_VAL
	mov	x21, x0
	ldr	x0, [x19]
	bl	_ZSTR_LEN
	sub	x8, x0, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmn	x8, #1
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w9, [x21, x8]
	sub	x8, x8, #1
	cmp	w9, #46
	b.eq	LBB0_4
; %bb.6:
	add	x1, x8, #2
	mov	x0, x21
	mov	x2, x20
	bl	_pestrndup
	mov	x20, x0
	b	LBB0_9
LBB0_7:
	mov	x20, #0
	b	LBB0_10
LBB0_8:
	mov	x20, #0
LBB0_9:
	mov	x0, x19
	bl	_php_url_free
LBB0_10:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_php_openssl_get_url_name
.subsections_via_symbols
