	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function browscap_entry_to_array
_browscap_entry_to_array:               ## @browscap_entry_to_array
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	$8, %edi
	callq	_zend_new_array
	movq	%rax, %r15
	movl	20(%r14), %edi
	xorl	%esi, %esi
	callq	_browscap_convert_pattern
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ZVAL_STR
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	$18, %edx
	movq	%rbx, %rcx
	callq	_zend_hash_str_add
	movl	20(%r14), %esi
	movq	%rbx, %rdi
	callq	_ZVAL_STR_COPY
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$20, %edx
	movq	%rbx, %rcx
	callq	_zend_hash_str_add
	movl	16(%r14), %esi
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ZVAL_STR_COPY
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	$6, %edx
	movq	%rbx, %rcx
	callq	_zend_hash_str_add
LBB0_2:
	movq	(%r14), %rbx
	cmpq	8(%r14), %rbx
	jae	LBB0_5
## %bb.3:
	leaq	-44(%rbp), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	4(%rax,%rbx,8), %esi
	movq	%r13, %rdi
	callq	_ZVAL_STR_COPY
	movq	(%r12), %rax
	movl	(%rax,%rbx,8), %esi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_zend_hash_add
	incq	%rbx
	cmpq	8(%r14), %rbx
	jb	LBB0_4
LBB0_5:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"browser_name_regex"

L_.str.1:                               ## @.str.1
	.asciz	"browser_name_pattern"

L_.str.2:                               ## @.str.2
	.asciz	"parent"

	.no_dead_strip	_browscap_entry_to_array
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function browscap_entry_to_array
_browscap_entry_to_array:               ; @browscap_entry_to_array
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
	mov	w0, #8
	bl	_zend_new_array
	mov	x21, x0
	ldr	w0, [x19, #20]
	mov	w1, #0
	bl	_browscap_convert_pattern
	mov	x1, x0
	add	x0, sp, #12
	bl	_ZVAL_STR
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x3, sp, #12
	mov	x0, x21
	mov	w2, #18
	bl	_zend_hash_str_add
	ldr	w1, [x19, #20]
	add	x0, sp, #12
	bl	_ZVAL_STR_COPY
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x3, sp, #12
	mov	x0, x21
	mov	w2, #20
	bl	_zend_hash_str_add
	ldr	w1, [x19, #16]
	cbz	w1, LBB0_2
; %bb.1:
	add	x0, sp, #12
	bl	_ZVAL_STR_COPY
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x3, sp, #12
	mov	x0, x21
	mov	w2, #6
	bl	_zend_hash_str_add
LBB0_2:
	ldp	x22, x8, [x19]
	cmp	x22, x8
	b.hs	LBB0_5
; %bb.3:
	lsl	x23, x22, #3
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x8, x8, x23
	ldr	w1, [x8, #4]
	add	x0, sp, #12
	bl	_ZVAL_STR_COPY
	ldr	x8, [x20]
	ldr	w1, [x8, x23]
	add	x2, sp, #12
	mov	x0, x21
	bl	_zend_hash_add
	add	x22, x22, #1
	ldr	x8, [x19, #8]
	add	x23, x23, #8
	cmp	x22, x8
	b.lo	LBB0_4
LBB0_5:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"browser_name_regex"

l_.str.1:                               ; @.str.1
	.asciz	"browser_name_pattern"

l_.str.2:                               ; @.str.2
	.asciz	"parent"

	.no_dead_strip	_browscap_entry_to_array
.subsections_via_symbols
