	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_demangle_option
_parse_demangle_option:                 ## @parse_demangle_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$6, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$6, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	callq	_errx
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_5:
	movq	_ELFTC_DEM_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_ELFTC_DEM_GNU2@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_ELFTC_DEM_GNU3@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_ELFTC_DEM_ARM@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ELFTC_DEM_UNKNOWN,4,2          ## @ELFTC_DEM_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gnu-v2"

	.comm	_ELFTC_DEM_GNU2,4,2             ## @ELFTC_DEM_GNU2
L_.str.1:                               ## @.str.1
	.asciz	"gnu-v3"

	.comm	_ELFTC_DEM_GNU3,4,2             ## @ELFTC_DEM_GNU3
L_.str.2:                               ## @.str.2
	.asciz	"arm"

	.comm	_ELFTC_DEM_ARM,4,2              ## @ELFTC_DEM_ARM
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_.str.3:                               ## @.str.3
	.asciz	"unknown demangling style '%s'"

	.no_dead_strip	_parse_demangle_option
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_demangle_option
_parse_demangle_option:                 ; @parse_demangle_option
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #6
	bl	_strncasecmp
	cbz	w0, LBB0_6
; %bb.2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #6
	bl	_strncasecmp
	cbz	w0, LBB0_7
; %bb.3:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #3
	bl	_strncasecmp
	cbz	w0, LBB0_8
; %bb.4:
Lloh6:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x19
	bl	_errx
	mov	w0, #0
	b	LBB0_10
LBB0_5:
Lloh11:
	adrp	x8, _ELFTC_DEM_UNKNOWN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ELFTC_DEM_UNKNOWN@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh13:
	adrp	x8, _ELFTC_DEM_GNU2@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ELFTC_DEM_GNU2@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh15:
	adrp	x8, _ELFTC_DEM_GNU3@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ELFTC_DEM_GNU3@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh17:
	adrp	x8, _ELFTC_DEM_ARM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ELFTC_DEM_ARM@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ELFTC_DEM_UNKNOWN,4,2          ; @ELFTC_DEM_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gnu-v2"

	.comm	_ELFTC_DEM_GNU2,4,2             ; @ELFTC_DEM_GNU2
l_.str.1:                               ; @.str.1
	.asciz	"gnu-v3"

	.comm	_ELFTC_DEM_GNU3,4,2             ; @ELFTC_DEM_GNU3
l_.str.2:                               ; @.str.2
	.asciz	"arm"

	.comm	_ELFTC_DEM_ARM,4,2              ; @ELFTC_DEM_ARM
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_.str.3:                               ; @.str.3
	.asciz	"unknown demangling style '%s'"

	.no_dead_strip	_parse_demangle_option
.subsections_via_symbols
