	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_arm_disassembler_option  ## -- Begin function parse_arm_disassembler_option
	.p2align	4, 0x90
_parse_arm_disassembler_option:         ## @parse_arm_disassembler_option
	.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
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	callq	_CONST_STRNEQ
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	addq	$10, %r14
	movq	_NUM_ARM_REGNAMES@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	xorl	%ebx, %ebx
	movq	_regnames@GOTPCREL(%rip), %r13
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	subq	$1, %r15
	jb	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	movl	(%rax,%r15,4), %r12d
	movl	%r12d, %edi
	callq	_strlen
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_strneq
	incl	%ebx
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	subl	%ebx, %ecx
	movq	_regname_selected@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	incl	%ecx
	testl	%ecx, %ecx
	jg	LBB0_12
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
LBB0_7:
	callq	__
	movl	%ebx, %edi
	movq	%rax, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_CONST_STRNEQ
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_force_thumb@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_12
LBB0_10:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_CONST_STRNEQ
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	_force_thumb@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reg-names-"

	.comm	_NUM_ARM_REGNAMES,4,2           ## @NUM_ARM_REGNAMES
	.comm	_regnames,8,3                   ## @regnames
	.comm	_regname_selected,4,2           ## @regname_selected
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Unrecognised register name set: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"force-thumb"

	.comm	_force_thumb,4,2                ## @force_thumb
L_.str.3:                               ## @.str.3
	.asciz	"no-force-thumb"

L_.str.4:                               ## @.str.4
	.asciz	"Unrecognised disassembler option: %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_arm_disassembler_option  ; -- Begin function parse_arm_disassembler_option
	.p2align	2
_parse_arm_disassembler_option:         ; @parse_arm_disassembler_option
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_12
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_CONST_STRNEQ
	cbz	x0, LBB0_8
; %bb.2:
	add	x19, x19, #10
Lloh2:
	adrp	x8, _NUM_ARM_REGNAMES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NUM_ARM_REGNAMES@GOTPAGEOFF]
Lloh4:
	ldrsw	x21, [x8]
	sub	x22, x21, #1
Lloh5:
	adrp	x23, _regnames@GOTPAGE
Lloh6:
	ldr	x23, [x23, _regnames@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmn	x22, #1
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	ldr	w20, [x8, x22, lsl #2]
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_strneq
	sub	w21, w21, #1
	sub	x22, x22, #1
	cbz	x0, LBB0_3
; %bb.5:
	add	w8, w21, #1
Lloh7:
	adrp	x9, _regname_selected@GOTPAGE
Lloh8:
	ldr	x9, [x9, _regname_selected@GOTPAGEOFF]
Lloh9:
	str	w21, [x9]
	cmp	w8, #0
	b.gt	LBB0_12
LBB0_6:
Lloh10:
	adrp	x8, _stderr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_7:
	bl	__
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_fprintf
LBB0_8:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_CONST_STRNEQ
	cbz	x0, LBB0_10
; %bb.9:
Lloh17:
	adrp	x8, _force_thumb@GOTPAGE
Lloh18:
	ldr	x8, [x8, _force_thumb@GOTPAGEOFF]
	mov	w9, #1
Lloh19:
	str	w9, [x8]
	b	LBB0_12
LBB0_10:
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_CONST_STRNEQ
	cbz	x0, LBB0_13
; %bb.11:
Lloh22:
	adrp	x8, _force_thumb@GOTPAGE
Lloh23:
	ldr	x8, [x8, _force_thumb@GOTPAGEOFF]
Lloh24:
	str	wzr, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w20, [x8]
Lloh28:
	adrp	x0, l_.str.4@PAGE
Lloh29:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reg-names-"

	.comm	_NUM_ARM_REGNAMES,4,2           ; @NUM_ARM_REGNAMES
	.comm	_regnames,8,3                   ; @regnames
	.comm	_regname_selected,4,2           ; @regname_selected
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Unrecognised register name set: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"force-thumb"

	.comm	_force_thumb,4,2                ; @force_thumb
l_.str.3:                               ; @.str.3
	.asciz	"no-force-thumb"

l_.str.4:                               ; @.str.4
	.asciz	"Unrecognised disassembler option: %s\n"

.subsections_via_symbols
