	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xtensa_format_decode           ## -- Begin function xtensa_format_decode
	.p2align	4, 0x90
_xtensa_format_decode:                  ## @xtensa_format_decode
	.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
	movq	%rdi, %rax
	movl	%esi, %edi
	callq	*(%rax)
	movq	_XTENSA_UNDEFINED@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_xtensa_isa_bad_format@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_xtisa_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_xtisa_error_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
	movq	(%rbx), %rax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XTENSA_UNDEFINED,8,3           ## @XTENSA_UNDEFINED
	.comm	_xtensa_isa_bad_format,4,2      ## @xtensa_isa_bad_format
	.comm	_xtisa_errno,4,2                ## @xtisa_errno
	.comm	_xtisa_error_msg,4,2            ## @xtisa_error_msg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot decode instruction format"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xtensa_format_decode           ; -- Begin function xtensa_format_decode
	.p2align	2
_xtensa_format_decode:                  ; @xtensa_format_decode
	.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
	ldr	x8, [x0]
	mov	x0, x1
	blr	x8
Lloh0:
	adrp	x19, _XTENSA_UNDEFINED@GOTPAGE
Lloh1:
	ldr	x19, [x19, _XTENSA_UNDEFINED@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _xtensa_isa_bad_format@GOTPAGE
Lloh3:
	ldr	x8, [x8, _xtensa_isa_bad_format@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _xtisa_errno@GOTPAGE
Lloh6:
	ldr	x9, [x9, _xtisa_errno@GOTPAGEOFF]
Lloh7:
	str	w8, [x9]
Lloh8:
	adrp	x8, _xtisa_error_msg@GOTPAGE
Lloh9:
	ldr	x8, [x8, _xtisa_error_msg@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcpy
	ldr	x0, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_XTENSA_UNDEFINED,8,3           ; @XTENSA_UNDEFINED
	.comm	_xtensa_isa_bad_format,4,2      ; @xtensa_isa_bad_format
	.comm	_xtisa_errno,4,2                ; @xtisa_errno
	.comm	_xtisa_error_msg,4,2            ; @xtisa_error_msg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot decode instruction format"

.subsections_via_symbols
