	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_boms                     ## -- Begin function check_boms
	.p2align	4, 0x90
_check_boms:                            ## @check_boms
	.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
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_boms@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r13
	testq	%r13, %r13
	je	LBB0_13
## %bb.1:
	leaq	-72(%rbp), %rbx
	xorl	%r15d, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rsi
	movl	-64(%rbp), %edx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	-44(%rbp)                       ## 4-byte Folded Spill
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_yaml_parser_delete
	incq	%r15
	movq	_boms@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r15,%r15,2), %rcx
	movq	(%rax,%rcx,8), %r13
	testq	%r13, %r13
	je	LBB0_14
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	leaq	(%r15,%r15,2), %rcx
	movq	8(%rax,%rcx,8), %rsi
	movl	16(%rax,%rcx,8), %r12d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$33, (%r13,%r14)
	leaq	1(%r14), %r14
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	callq	_yaml_parser_initialize
	decl	%r14d
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_yaml_parser_set_input_string
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_yaml_parser_update_buffer
	testl	%eax, %eax
	je	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-60(%rbp), %esi
	cmpl	%r12d, %esi
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdi
	movq	_bom_original@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movl	%r12d, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rsi
	movq	(%r14), %rdx
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.3(%rip), %rdi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_3
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_str.7(%rip), %rdi
	callq	_puts
	jmp	LBB0_4
LBB0_13:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_14:
	leaq	L_.str.6(%rip), %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_boms,8,3                       ## @boms
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"\t%s: "

L_.str.2:                               ## @.str.2
	.asciz	"- (reader error: %s at %d)\n"

L_.str.3:                               ## @.str.3
	.asciz	"- (length=%d while expected length=%d)\n"

	.comm	_bom_original,8,3               ## @bom_original
L_.str.4:                               ## @.str.4
	.asciz	"- (value '%s' does not equal to the original value '%s')\n"

L_.str.6:                               ## @.str.6
	.asciz	"checking boms: %d fail(s)\n"

L_str:                                  ## @str
	.asciz	"checking boms..."

L_str.7:                                ## @str.7
	.asciz	"+"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_boms                     ; -- Begin function check_boms
	.p2align	2
_check_boms:                            ; @check_boms
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x28, _boms@GOTPAGE
Lloh3:
	ldr	x28, [x28, _boms@GOTPAGEOFF]
	ldr	x8, [x28]
	ldr	x25, [x8]
	cbz	x25, LBB0_13
; %bb.1:
	mov	x22, #0
	mov	w19, #0
	mov	w23, #24
Lloh4:
	adrp	x20, l_.str.1@PAGE
Lloh5:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh6:
	adrp	x21, l_.str.2@PAGE
Lloh7:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh8:
	adrp	x24, _bom_original@GOTPAGE
Lloh9:
	ldr	x24, [x24, _bom_original@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #24]
	ldr	w9, [sp, #32]
	stp	x8, x9, [sp]
	mov	x0, x21
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_printf
	add	w19, w19, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #24
	bl	_yaml_parser_delete
	add	x22, x22, #1
	ldr	x8, [x28]
	mul	x9, x22, x23
	ldr	x25, [x8, x9]
	cbz	x25, LBB0_14
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x27, #0
	madd	x9, x22, x23, x8
	ldr	x8, [x9, #8]
	ldr	w26, [x9, #16]
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x25, x27]
	add	x27, x27, #1
	cmp	w9, #33
	b.ne	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x8, [sp]
	mov	x0, x20
	bl	_printf
	add	x0, sp, #24
	bl	_yaml_parser_initialize
	sub	w27, w27, #1
	add	x0, sp, #24
	mov	x1, x25
	mov	x2, x27
	bl	_yaml_parser_set_input_string
	add	x0, sp, #24
	mov	x1, x27
	bl	_yaml_parser_update_buffer
	cbz	w0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #36]
	cmp	w8, w26
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #40]
	ldr	x1, [x24]
	mov	x2, x26
	bl	_memcmp
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #40]
	ldr	x9, [x24]
	stp	x8, x9, [sp]
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	stp	x8, x26, [sp]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh14:
	adrp	x0, l_str.7@PAGE
Lloh15:
	add	x0, x0, l_str.7@PAGEOFF
	bl	_puts
	b	LBB0_4
LBB0_13:
	mov	w19, #0
LBB0_14:
	str	x19, [sp]
Lloh16:
	adrp	x0, l_.str.6@PAGE
Lloh17:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_boms,8,3                       ; @boms
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"\t%s: "

l_.str.2:                               ; @.str.2
	.asciz	"- (reader error: %s at %d)\n"

l_.str.3:                               ; @.str.3
	.asciz	"- (length=%d while expected length=%d)\n"

	.comm	_bom_original,8,3               ; @bom_original
l_.str.4:                               ; @.str.4
	.asciz	"- (value '%s' does not equal to the original value '%s')\n"

l_.str.6:                               ; @.str.6
	.asciz	"checking boms: %d fail(s)\n"

l_str:                                  ; @str
	.asciz	"checking boms..."

l_str.7:                                ; @str.7
	.asciz	"+"

.subsections_via_symbols
