	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdbarch_update_p               ## -- Begin function gdbarch_update_p
	.p2align	4, 0x90
_gdbarch_update_p:                      ## @gdbarch_update_p
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_gdbarch_find_by_info
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %rbx
	movq	_current_gdbarch@GOTPCREL(%rip), %rcx
	movq	_gdbarch_debug@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%rcx), %rbx
	je	LBB0_5
## %bb.7:
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_gdbarch_bfd_arch_info
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
LBB0_9:
	movq	%rbx, %rdi
	callq	_deprecated_current_gdbarch_select_hack
	movl	$1, %r14d
	jmp	LBB0_10
LBB0_1:
	movq	_gdbarch_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.3:
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
	jmp	LBB0_10
LBB0_5:
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	_gdb_stdlog@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_gdbarch_bfd_arch_info
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
	jmp	LBB0_10
LBB0_2:
	xorl	%r14d, %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gdbarch_debug,8,3              ## @gdbarch_debug
	.comm	_gdb_stdlog,4,2                 ## @gdb_stdlog
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gdbarch_update_p: Architecture not found\n"

	.comm	_current_gdbarch,8,3            ## @current_gdbarch
L_.str.1:                               ## @.str.1
	.asciz	"gdbarch_update_p: Architecture 0x%08lx (%s) unchanged\n"

L_.str.2:                               ## @.str.2
	.asciz	"gdbarch_update_p: New architecture 0x%08lx (%s) selected\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdbarch_update_p               ; -- Begin function gdbarch_update_p
	.p2align	2
_gdbarch_update_p:                      ; @gdbarch_update_p
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	and	x0, x0, #0xffffffff
	bl	_gdbarch_find_by_info
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _current_gdbarch@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_gdbarch@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _gdbarch_debug@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gdbarch_debug@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x9
	b.eq	LBB0_7
; %bb.2:
	cbz	x8, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _gdb_stdlog@GOTPAGE
Lloh7:
	ldr	x8, [x8, _gdb_stdlog@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_gdbarch_bfd_arch_info
	ldr	w8, [x0]
	stp	x19, x8, [sp]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_fprintf_unfiltered
LBB0_4:
	mov	x0, x19
	bl	_deprecated_current_gdbarch_select_hack
	b	LBB0_9
LBB0_5:
Lloh11:
	adrp	x8, _gdbarch_debug@GOTPAGE
Lloh12:
	ldr	x8, [x8, _gdbarch_debug@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.6:
Lloh14:
	adrp	x8, _gdb_stdlog@GOTPAGE
Lloh15:
	ldr	x8, [x8, _gdb_stdlog@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf_unfiltered
	mov	w0, #0
	b	LBB0_10
LBB0_7:
	cbz	x8, LBB0_9
; %bb.8:
Lloh19:
	adrp	x8, _gdb_stdlog@GOTPAGE
Lloh20:
	ldr	x8, [x8, _gdb_stdlog@GOTPAGEOFF]
Lloh21:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_gdbarch_bfd_arch_info
	ldr	w8, [x0]
	stp	x19, x8, [sp]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_fprintf_unfiltered
LBB0_9:
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_11:
	mov	w0, #0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_gdbarch_debug,8,3              ; @gdbarch_debug
	.comm	_gdb_stdlog,4,2                 ; @gdb_stdlog
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gdbarch_update_p: Architecture not found\n"

	.comm	_current_gdbarch,8,3            ; @current_gdbarch
l_.str.1:                               ; @.str.1
	.asciz	"gdbarch_update_p: Architecture 0x%08lx (%s) unchanged\n"

l_.str.2:                               ; @.str.2
	.asciz	"gdbarch_update_p: New architecture 0x%08lx (%s) selected\n"

.subsections_via_symbols
