	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_1
_load_1:                                ## @load_1
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%r12, (%rbx)
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_r_sandbox_fopen
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %r15
	movl	$1, 8(%rbx)
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_18
## %bb.5:
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	incl	8(%rbx)
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_18
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$10, -1(%rax,%r13)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%r12
	movb	$0, -1(%r13,%rax)
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movzbl	(%r13), %ecx
	testb	%cl, %cl
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$35, %cl
	je	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_mime_marker_len@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, %rax
	jbe	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_mime_marker@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	movq	%r12, %r8
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	callq	_parse
	testq	%rax, %rax
	je	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	jmp	LBB0_17
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_mime_marker_len@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	%r13, %rcx
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_parse_mime
	testq	%rax, %rax
	jne	LBB0_16
	jmp	LBB0_17
LBB0_18:
	movq	%r15, %rdi
	callq	_fclose
	jmp	LBB0_19
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rcx
	callq	_file_error
LBB0_3:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"cannot read magic file `%s'"

	.comm	_mime_marker_len,8,3            ## @mime_marker_len
	.comm	_mime_marker,4,2                ## @mime_marker
	.no_dead_strip	_load_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_1
_load_1:                                ; @load_1
	.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
	mov	x21, x5
	mov	x22, x4
	mov	x19, x3
	mov	x27, x2
	mov	x23, x1
	mov	x20, x0
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, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUFSIZ@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x25, x8, x9
	mov	sp, x25
	str	x2, [x0]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	bl	_r_sandbox_fopen
	cbz	x0, LBB0_15
; %bb.1:
	mov	x26, x0
	mov	w8, #1
	str	w8, [x20, #8]
	mov	x0, x25
	mov	x1, x24
	mov	x2, x26
	bl	_fgets
	cbz	x0, LBB0_14
; %bb.2:
	mov	x27, #0
Lloh10:
	adrp	x28, _mime_marker_len@GOTPAGE
Lloh11:
	ldr	x28, [x28, _mime_marker_len@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x25
	mov	x4, x27
	mov	x5, x23
	bl	_parse
	cbz	x0, LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	mov	x0, x25
	mov	x1, x24
	mov	x2, x26
	bl	_fgets
	cbz	x0, LBB0_14
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	bl	_strlen
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x8, x0, #1
	ldrb	w9, [x25, x8]
	cmp	w9, #10
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x27, x27, #1
	strb	wzr, [x25, x8]
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x25]
	cbz	w8, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #35
	b.eq	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x2, [x28]
	cmp	x0, x2
	b.ls	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh12:
	adrp	x8, _mime_marker@GOTPAGE
Lloh13:
	ldr	x8, [x8, _mime_marker@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_memcmp
	cbnz	x0, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x28]
	add	x3, x25, x8
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_parse_mime
	cbnz	x0, LBB0_4
	b	LBB0_5
LBB0_14:
	mov	x0, x26
	bl	_fclose
	b	LBB0_18
LBB0_15:
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	x1, [x8]
Lloh18:
	adrp	x8, _ENOENT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x1, x8
	b.eq	LBB0_17
; %bb.16:
Lloh21:
	adrp	x2, l_.str.1@PAGE
Lloh22:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x3, x27
	bl	_file_error
LBB0_17:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_18:
	ldur	x8, [x29, #-88]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	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_20:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"cannot read magic file `%s'"

	.comm	_mime_marker_len,8,3            ; @mime_marker_len
	.comm	_mime_marker,4,2                ; @mime_marker
	.no_dead_strip	_load_1
.subsections_via_symbols
