	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function browscap_read_file
_browscap_read_file:                    ## @browscap_read_file
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movq	$0, -48(%rbp)
	movq	_FAILURE@GOTPCREL(%rip), %r12
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	cmpb	$0, (%rdi)
	je	LBB0_10
## %bb.2:
	movl	%edx, %r14d
	movq	%rsi, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_VCWD_FOPEN
	leaq	-40(%rbp), %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_zend_stream_init_fp
	cmpl	$0, -40(%rbp)
	je	LBB0_3
## %bb.4:
	movl	$1, %edi
	movl	%r14d, %esi
	callq	_pemalloc
	movq	%rax, 24(%r15)
	testl	%r14d, %r14d
	jne	LBB0_5
## %bb.6:
	movq	_browscap_entry_dtor@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_3:
	movq	_E_CORE_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_zend_error
	jmp	LBB0_10
LBB0_5:
	movq	_browscap_entry_dtor_persistent@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %ecx
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r14d, %r8d
	xorl	%r9d, %r9d
	callq	_zend_hash_init_ex
	movl	$16384, (%r15)                  ## imm = 0x4000
	movq	$0, 16(%r15)
	movl	$65536, %edi                    ## imm = 0x10000
	movl	%r14d, %esi
	callq	_pemalloc
	movq	%rax, 8(%r15)
	movq	%r15, -56(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -72(%rbp)
	movq	_str_interned_dtor@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	movl	%r14d, %r8d
	callq	_zend_hash_init
	movq	_ZEND_INI_SCANNER_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_php_browscap_parser_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-40(%rbp), %rdi
	movl	$1, %esi
	movq	%rbx, %r8
	callq	_zend_parse_ini_file
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_zend_string_release
LBB0_9:
	leaq	-80(%rbp), %rdi
	callq	_zend_hash_destroy
	movq	_SUCCESS@GOTPCREL(%rip), %r12
LBB0_10:
	movl	(%r12), %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FAILURE,4,2                    ## @FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_E_CORE_WARNING,4,2             ## @E_CORE_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"Cannot open '%s' for reading"

	.comm	_browscap_entry_dtor_persistent,4,2 ## @browscap_entry_dtor_persistent
	.comm	_browscap_entry_dtor,4,2        ## @browscap_entry_dtor
	.comm	_str_interned_dtor,4,2          ## @str_interned_dtor
	.comm	_ZEND_INI_SCANNER_RAW,4,2       ## @ZEND_INI_SCANNER_RAW
	.comm	_php_browscap_parser_cb,8,3     ## @php_browscap_parser_cb
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_browscap_read_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function browscap_read_file
_browscap_read_file:                    ; @browscap_read_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	str	xzr, [sp, #32]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
	cbz	x0, LBB0_7
; %bb.1:
	mov	x21, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_7
; %bb.2:
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_VCWD_FOPEN
	mov	x1, x0
	add	x0, sp, #40
	mov	x2, x21
	bl	_zend_stream_init_fp
	ldr	w8, [sp, #40]
	cbz	w8, LBB0_6
; %bb.3:
	mov	w0, #1
	mov	x1, x19
	bl	_pemalloc
Lloh2:
	adrp	x8, _browscap_entry_dtor_persistent@GOTPAGE
Lloh3:
	ldr	x8, [x8, _browscap_entry_dtor_persistent@GOTPAGEOFF]
	str	x0, [x20, #24]
Lloh4:
	adrp	x9, _browscap_entry_dtor@GOTPAGE
Lloh5:
	ldr	x9, [x9, _browscap_entry_dtor@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w3, [x8]
	mov	w1, #0
	mov	x2, #0
	mov	x4, x19
	mov	w5, #0
	bl	_zend_hash_init_ex
	mov	w8, #16384
	str	w8, [x20]
	str	xzr, [x20, #16]
	mov	w0, #65536
	mov	x1, x19
	bl	_pemalloc
	str	x0, [x20, #8]
	stp	xzr, x20, [sp, #16]
	str	xzr, [sp, #8]
Lloh6:
	adrp	x8, _str_interned_dtor@GOTPAGE
Lloh7:
	ldr	x8, [x8, _str_interned_dtor@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, sp
	mov	w1, #8
	mov	x2, #0
	mov	x4, x19
	bl	_zend_hash_init
Lloh9:
	adrp	x8, _ZEND_INI_SCANNER_RAW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ZEND_INI_SCANNER_RAW@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _php_browscap_parser_cb@GOTPAGE
Lloh13:
	ldr	x8, [x8, _php_browscap_parser_cb@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	add	x0, sp, #40
	mov	x4, sp
	mov	w1, #1
	bl	_zend_parse_ini_file
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_zend_string_release
LBB0_5:
	mov	x0, sp
	bl	_zend_hash_destroy
Lloh15:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh17:
	adrp	x8, _E_CORE_WARNING@GOTPAGE
Lloh18:
	ldr	x8, [x8, _E_CORE_WARNING@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_zend_error
LBB0_7:
Lloh22:
	adrp	x8, _FAILURE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_FAILURE,4,2                    ; @FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_E_CORE_WARNING,4,2             ; @E_CORE_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"Cannot open '%s' for reading"

	.comm	_browscap_entry_dtor_persistent,4,2 ; @browscap_entry_dtor_persistent
	.comm	_browscap_entry_dtor,4,2        ; @browscap_entry_dtor
	.comm	_str_interned_dtor,4,2          ; @str_interned_dtor
	.comm	_ZEND_INI_SCANNER_RAW,4,2       ; @ZEND_INI_SCANNER_RAW
	.comm	_php_browscap_parser_cb,8,3     ; @php_browscap_parser_cb
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_browscap_read_file
.subsections_via_symbols
