	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bba_probe
_bba_probe:                             ## @bba_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_EXI_CHANNEL_0@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_EXI_DEVICE_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_EXI_Lock
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	___bba_read_cid
	movq	_BBA_CID@GOTPCREL(%rip), %rcx
	movl	$-1, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_bba_init_one
	movl	%eax, %ebx
LBB0_4:
	movl	(%r15), %edi
	callq	_EXI_Unlock
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXI_CHANNEL_0,4,2              ## @EXI_CHANNEL_0
	.comm	_EXI_DEVICE_2,4,2               ## @EXI_DEVICE_2
	.comm	_BBA_CID,8,3                    ## @BBA_CID
	.no_dead_strip	_bba_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bba_probe
_bba_probe:                             ; @bba_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
	mov	x19, x0
Lloh0:
	adrp	x20, _EXI_CHANNEL_0@GOTPAGE
Lloh1:
	ldr	x20, [x20, _EXI_CHANNEL_0@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x8, _EXI_DEVICE_2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EXI_DEVICE_2@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_EXI_Lock
	cbz	x0, LBB0_3
; %bb.1:
	bl	___bba_read_cid
Lloh5:
	adrp	x8, _BBA_CID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BBA_CID@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_bba_init_one
	mov	x19, x0
	b	LBB0_5
LBB0_3:
	mov	w19, #-1
	b	LBB0_6
LBB0_4:
	mov	w19, #-1
LBB0_5:
	ldr	w0, [x20]
	bl	_EXI_Unlock
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EXI_CHANNEL_0,4,2              ; @EXI_CHANNEL_0
	.comm	_EXI_DEVICE_2,4,2               ; @EXI_DEVICE_2
	.comm	_BBA_CID,8,3                    ; @BBA_CID
	.no_dead_strip	_bba_probe
.subsections_via_symbols
