	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_parse_extension
_arm_parse_extension:                   ## @arm_parse_extension
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	$4, %edi
	callq	_xmalloc
	movq	%rax, %r14
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%r14, (%rbx)
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movl	$1, %ebx
	testq	%r15, %r15
	je	LBB0_17
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	(%r15), %al
	cmpb	$43, %al
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %r12
	incq	%r12
	movq	%r12, %rdi
	movl	$43, %esi
	callq	_strchr
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %ebx
	subl	%r12d, %ebx
	testl	%ebx, %ebx
	jne	LBB0_11
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %ebx
	testl	%ebx, %ebx
	je	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_arm_extensions@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	addq	$16, %r13
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	(%r13), %rdi
	addq	$16, %r13
	testq	%rdi, %rdi
	jne	LBB0_13
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %edi
	movl	-8(%r13), %edx
	movl	%edi, %esi
	callq	_ARM_MERGE_FEATURE_SETS
	cmpq	$0, -16(%r13)
	jne	LBB0_1
LBB0_16:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	xorl	%ebx, %ebx
	movl	%eax, %edi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_as_bad
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	testb	%al, %al
	je	LBB0_17
## %bb.4:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_5
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	callq	__
	xorl	%ebx, %ebx
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_as_bad
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid architectural extension"

L_.str.1:                               ## @.str.1
	.asciz	"missing architectural extension"

	.comm	_arm_extensions,8,3             ## @arm_extensions
L_.str.2:                               ## @.str.2
	.asciz	"unknown architectural extnsion `%s'"

	.no_dead_strip	_arm_parse_extension
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_parse_extension
_arm_parse_extension:                   ; @arm_parse_extension
	.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	x21, x1
	mov	x20, x0
	mov	w0, #4
	bl	_xmalloc
	mov	x19, x0
	ldr	x8, [x21]
	ldr	w8, [x8]
	str	w8, [x0]
	str	x0, [x21]
Lloh0:
	adrp	x23, _arm_extensions@GOTPAGE
Lloh1:
	ldr	x23, [x23, _arm_extensions@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	cbz	x20, LBB0_15
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x20]
	cmp	w8, #43
	b.ne	LBB0_14
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x21, x20, #1
	mov	x0, x21
	mov	w1, #43
	bl	_strchr
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	w22, w20, w21
	cbnz	w22, LBB0_6
	b	LBB0_17
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	_strlen
	mov	x22, x0
	cbz	w22, LBB0_17
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x23]
	ldr	x0, [x8]
	cbz	x0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x24, x8, #16
LBB0_8:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x1, x21
	mov	x2, x22
	bl	_strncmp
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x0, [x24], #16
	cbnz	x0, LBB0_8
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x19]
	ldur	w2, [x24, #-8]
	mov	x1, x0
	bl	_ARM_MERGE_FEATURE_SETS
	ldur	x8, [x24, #-16]
	cbnz	x8, LBB0_1
LBB0_11:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	str	x21, [sp]
LBB0_12:
	bl	_as_bad
	mov	w0, #0
LBB0_13:
	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
LBB0_14:
	cbnz	w8, LBB0_16
LBB0_15:
	mov	w0, #1
	b	LBB0_13
LBB0_16:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	b	LBB0_12
LBB0_17:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid architectural extension"

l_.str.1:                               ; @.str.1
	.asciz	"missing architectural extension"

	.comm	_arm_extensions,8,3             ; @arm_extensions
l_.str.2:                               ; @.str.2
	.asciz	"unknown architectural extnsion `%s'"

	.no_dead_strip	_arm_parse_extension
.subsections_via_symbols
