	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbbc_uart_probe
_sbbc_uart_probe:                       ## @sbbc_uart_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_sbbc_console@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	(%rdi), %esi
	movl	4(%rdi), %edi
	callq	_sbbc_parse_toc
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	_sbbc_scsolie@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.2:
	movq	_sbbc_scsolir@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.3:
	movq	_sbbc_solcons@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.4:
	movq	_sbbc_solscie@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.5:
	movq	_sbbc_solscir@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.6:
	movq	_cons_magic@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SBBC_CONS_OFF
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_SBBC_SRAM_READ_4
	movq	_SBBC_CONS_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	(%r14), %rbx
	movq	_cons_version@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SBBC_CONS_OFF
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_SBBC_SRAM_READ_4
	movq	%rax, %rcx
	movq	_SBBC_CONS_VERSION@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jge	LBB0_9
LBB0_8:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sbbc_console,4,2               ## @sbbc_console
	.comm	_sbbc_scsolie,8,3               ## @sbbc_scsolie
	.comm	_sbbc_scsolir,8,3               ## @sbbc_scsolir
	.comm	_sbbc_solcons,8,3               ## @sbbc_solcons
	.comm	_sbbc_solscie,8,3               ## @sbbc_solscie
	.comm	_sbbc_solscir,8,3               ## @sbbc_solscir
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_cons_magic,4,2                 ## @cons_magic
	.comm	_SBBC_CONS_MAGIC,8,3            ## @SBBC_CONS_MAGIC
	.comm	_cons_version,4,2               ## @cons_version
	.comm	_SBBC_CONS_VERSION,8,3          ## @SBBC_CONS_VERSION
	.no_dead_strip	_sbbc_uart_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbbc_uart_probe
_sbbc_uart_probe:                       ; @sbbc_uart_probe
	.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
Lloh0:
	adrp	x8, _sbbc_console@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sbbc_console@GOTPAGEOFF]
	mov	w9, #1
Lloh2:
	str	w9, [x8]
	ldp	w1, w8, [x0]
	mov	x0, x8
	bl	_sbbc_parse_toc
	cbnz	w0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _sbbc_scsolie@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sbbc_scsolie@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _sbbc_scsolir@GOTPAGE
Lloh7:
	ldr	x9, [x9, _sbbc_scsolir@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x19, _sbbc_solcons@GOTPAGE
Lloh10:
	ldr	x19, [x19, _sbbc_solcons@GOTPAGEOFF]
	ldr	x20, [x19]
Lloh11:
	adrp	x10, _sbbc_solscie@GOTPAGE
Lloh12:
	ldr	x10, [x10, _sbbc_solscie@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
Lloh14:
	adrp	x11, _sbbc_solscir@GOTPAGE
Lloh15:
	ldr	x11, [x11, _sbbc_solscir@GOTPAGEOFF]
Lloh16:
	ldr	x11, [x11]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	ccmp	x20, #0, #4, ne
	ccmp	x10, #0, #4, ne
	ccmp	x11, #0, #4, ne
	b.eq	LBB0_4
; %bb.2:
Lloh17:
	adrp	x8, _cons_magic@GOTPAGE
Lloh18:
	ldr	x8, [x8, _cons_magic@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_SBBC_CONS_OFF
	add	x0, x0, x20
	bl	_SBBC_SRAM_READ_4
Lloh20:
	adrp	x8, _SBBC_CONS_MAGIC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SBBC_CONS_MAGIC@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	ldr	x19, [x19]
Lloh23:
	adrp	x8, _cons_version@GOTPAGE
Lloh24:
	ldr	x8, [x8, _cons_version@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_SBBC_CONS_OFF
	add	x0, x0, x19
	bl	_SBBC_SRAM_READ_4
Lloh26:
	adrp	x8, _SBBC_CONS_VERSION@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SBBC_CONS_VERSION@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_6
LBB0_4:
Lloh29:
	adrp	x8, _ENXIO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_sbbc_console,4,2               ; @sbbc_console
	.comm	_sbbc_scsolie,8,3               ; @sbbc_scsolie
	.comm	_sbbc_scsolir,8,3               ; @sbbc_scsolir
	.comm	_sbbc_solcons,8,3               ; @sbbc_solcons
	.comm	_sbbc_solscie,8,3               ; @sbbc_solscie
	.comm	_sbbc_solscir,8,3               ; @sbbc_solscir
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_cons_magic,4,2                 ; @cons_magic
	.comm	_SBBC_CONS_MAGIC,8,3            ; @SBBC_CONS_MAGIC
	.comm	_cons_version,4,2               ; @cons_version
	.comm	_SBBC_CONS_VERSION,8,3          ; @SBBC_CONS_VERSION
	.no_dead_strip	_sbbc_uart_probe
.subsections_via_symbols
