	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_section_table
_parse_section_table:                   ## @parse_section_table
	.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
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movslq	%edx, %r12
	shlq	$4, %r12
	leaq	L_.str(%rip), %rcx
	movl	%r12d, %edx
	callq	_range_check
	addq	%rbx, %r12
	cmpq	%r12, (%r14)
	ja	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_2:
	addq	8(%r14), %rbx
	movq	_MAX_SECTIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%r15d, %ecx
	jg	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_errx
LBB0_4:
	movl	%r15d, 16(%r14)
	testl	%r15d, %r15d
	jle	LBB0_9
## %bb.5:
	movl	%r15d, %r13d
	shlq	$2, %r13
	leaq	L_.str.4(%rip), %r12
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	8(%rbx,%r15,4), %edx
	movq	%r14, %rdi
	movq	%r12, %rcx
	callq	_range_check
	movl	(%rbx,%r15,4), %eax
	movq	24(%r14), %rcx
	movl	%eax, (%rcx,%r15)
	movl	8(%rbx,%r15,4), %eax
	movq	32(%r14), %rcx
	movl	%eax, (%rcx,%r15)
	addq	$4, %r15
	cmpq	%r15, %r13
	je	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r15,4), %rsi
	cmpq	(%r14), %rsi
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
	movq	(%rbx,%r15,4), %rsi
	jmp	LBB0_8
LBB0_9:
	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	"section table"

L_.str.1:                               ## @.str.1
	.asciz	"section table outside of headers"

	.comm	_MAX_SECTIONS,4,2               ## @MAX_SECTIONS
L_.str.2:                               ## @.str.2
	.asciz	"too many sections: got %d, should be %d"

L_.str.3:                               ## @.str.3
	.asciz	"section points inside the headers"

L_.str.4:                               ## @.str.4
	.asciz	"section"

	.no_dead_strip	_parse_section_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_section_table
_parse_section_table:                   ; @parse_section_table
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	sbfiz	x22, x20, #4, #32
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	mov	x2, x22
	bl	_range_check
	ldr	x8, [x19]
	add	x9, x22, x21
	cmp	x8, x9
	b.hi	LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	ldr	x23, [x19, #8]
Lloh4:
	adrp	x8, _MAX_SECTIONS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MAX_SECTIONS@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w8, w20
	b.gt	LBB0_4
; %bb.3:
	mov	x9, x20
	stp	x9, x8, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_4:
	str	w20, [x19, #16]
	cmp	w20, #1
	b.lt	LBB0_9
; %bb.5:
	mov	x22, #0
	add	x23, x23, x21
	mov	w8, w20
	lsl	x24, x8, #2
Lloh9:
	adrp	x20, l_.str.3@PAGE
Lloh10:
	add	x20, x20, l_.str.3@PAGEOFF
Lloh11:
	adrp	x21, l_.str.4@PAGE
Lloh12:
	add	x21, x21, l_.str.4@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [x23, #8]
	mov	x0, x19
	mov	x3, x21
	bl	_range_check
	ldr	x8, [x23]
	ldp	x9, x10, [x19, #24]
	str	w8, [x9, x22]
	ldr	w8, [x23, #8]
	str	w8, [x10, x22]
	add	x23, x23, #16
	add	x22, x22, #4
	cmp	x24, x22
	b.eq	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x23]
	ldr	x8, [x19]
	cmp	x1, x8
	b.ge	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #1
	mov	x1, x20
	bl	_errx
	ldr	x1, [x23]
	b	LBB0_6
LBB0_9:
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"section table"

l_.str.1:                               ; @.str.1
	.asciz	"section table outside of headers"

	.comm	_MAX_SECTIONS,4,2               ; @MAX_SECTIONS
l_.str.2:                               ; @.str.2
	.asciz	"too many sections: got %d, should be %d"

l_.str.3:                               ; @.str.3
	.asciz	"section points inside the headers"

l_.str.4:                               ; @.str.4
	.asciz	"section"

	.no_dead_strip	_parse_section_table
.subsections_via_symbols
