	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_browsers_file            ## -- Begin function parse_browsers_file
	.p2align	4, 0x90
_parse_browsers_file:                   ## @parse_browsers_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	%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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_LINE_BROWSERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_browsers@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %r15d
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,8), %edi
	callq	_xmalloc
	movq	_browsers_hash@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.1:
	movq	(%r12), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edx
	movl	4(%rcx), %ecx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_set_browser
	cmpl	$1, %r15d
	je	LBB0_4
## %bb.2:
	movslq	%r15d, %r14
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	movq	(%r12), %rax
	movq	(%rax,%r15,8), %rax
	movl	(%rax), %edx
	movl	4(%rax), %ecx
	movq	%r15, %rsi
	callq	_set_browser
	incq	%r15
	cmpq	%r15, %r14
	jne	LBB0_3
LBB0_4:
	movq	_conf@GOTPCREL(%rip), %rax
	movl	16(%rax), %edi
	testl	%edi, %edi
	je	LBB0_16
## %bb.5:
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_FATAL
LBB0_7:
	movq	_MAX_CUSTOM_BROWSERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$3, %edi
	callq	_xmalloc
	movq	_conf@GOTPCREL(%rip), %rcx
	movq	%rax, 8(%rcx)
	movq	%rbx, %rdi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:
	movq	%rbx, %r12
	incq	%r12
	xorl	%r13d, %r13d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_memmove
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$32, %al
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$9, %al
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	incl	%r13d
	cmpb	$35, %al
	ja	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movzbl	%al, %eax
	movabsq	$34359747584, %rcx              ## imm = 0x800002400
	btq	%rax, %rcx
	jb	LBB0_14
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_conf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MAX_CUSTOM_BROWSERS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_FATAL
LBB0_20:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_conf@GOTPCREL(%rip), %rax
	movq	8(%rax), %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_parse_browser_token
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_fgets
	testq	%rax, %rax
	jne	LBB0_9
LBB0_15:
	movq	%r15, %rdi
	callq	_fclose
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.21:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_LINE_BROWSERS,4,2          ## @MAX_LINE_BROWSERS
	.comm	_browsers,8,3                   ## @browsers
	.comm	_browsers_hash,8,3              ## @browsers_hash
	.comm	_conf,24,3                      ## @conf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to open browser's file: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_MAX_CUSTOM_BROWSERS,4,2        ## @MAX_CUSTOM_BROWSERS
L_.str.2:                               ## @.str.2
	.asciz	"Maximum number of custom browsers has been reached"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_browsers_file            ; -- Begin function parse_browsers_file
	.p2align	2
_parse_browsers_file:                   ; @parse_browsers_file
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_LINE_BROWSERS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_LINE_BROWSERS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w19, w8, #1
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh8:
	adrp	x22, _browsers@GOTPAGE
Lloh9:
	ldr	x22, [x22, _browsers@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	mov	x21, x0
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	lsl	w0, w0, #3
	bl	_xmalloc
Lloh10:
	adrp	x23, _browsers_hash@GOTPAGE
Lloh11:
	ldr	x23, [x23, _browsers_hash@GOTPAGEOFF]
	str	x0, [x23]
	cbz	w21, LBB0_4
; %bb.1:
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldp	w2, w3, [x8]
	mov	x1, #0
	bl	_set_browser
	cmp	w21, #1
	b.eq	LBB0_4
; %bb.2:
	sxtw	x24, w21
	mov	w21, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	ldr	x8, [x22]
	ldr	x8, [x8, x21, lsl #3]
	ldp	w2, w3, [x8]
	mov	x1, x21
	bl	_set_browser
	add	x21, x21, #1
	cmp	x24, x21
	b.ne	LBB0_3
LBB0_4:
Lloh12:
	adrp	x25, _conf@GOTPAGE
Lloh13:
	ldr	x25, [x25, _conf@GOTPAGEOFF]
	ldr	w0, [x25, #16]
	cbz	w0, LBB0_17
; %bb.5:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	mov	x21, x0
	cbnz	x0, LBB0_7
; %bb.6:
Lloh16:
	adrp	x8, _errno@GOTPAGE
Lloh17:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_FATAL
	add	sp, sp, #16
LBB0_7:
Lloh21:
	adrp	x26, _MAX_CUSTOM_BROWSERS@GOTPAGE
Lloh22:
	ldr	x26, [x26, _MAX_CUSTOM_BROWSERS@GOTPAGEOFF]
	ldr	w8, [x26]
	lsl	w0, w8, #3
	bl	_xmalloc
	str	x0, [x25, #8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_fgets
	cbz	x0, LBB0_16
; %bb.8:
	mov	w22, #0
	add	x23, x20, #1
	mov	w27, #1
	mov	x28, #9216
	movk	x28, #8, lsl #32
Lloh23:
	adrp	x24, l_.str.2@PAGE
Lloh24:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	bl	_memmove
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20]
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w22, w22, #1
	cmp	w8, #35
	lsl	x8, x27, x8
	and	x8, x8, x28
	ccmp	x8, #0, #4, ls
	b.ne	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x25]
	ldr	w9, [x26]
	cmp	w8, w9
	b.lt	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x24
	bl	_FATAL
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x25, #8]
	mov	x1, x20
	mov	x2, x22
	bl	_parse_browser_token
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_fgets
	cbnz	x0, LBB0_10
LBB0_16:
	mov	x0, x21
	bl	_fclose
LBB0_17:
	ldur	x8, [x29, #-88]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	sub	sp, x29, #80
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_LINE_BROWSERS,4,2          ; @MAX_LINE_BROWSERS
	.comm	_browsers,8,3                   ; @browsers
	.comm	_browsers_hash,8,3              ; @browsers_hash
	.comm	_conf,24,3                      ; @conf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to open browser's file: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_MAX_CUSTOM_BROWSERS,4,2        ; @MAX_CUSTOM_BROWSERS
l_.str.2:                               ; @.str.2
	.asciz	"Maximum number of custom browsers has been reached"

.subsections_via_symbols
