	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbni_card_probe
_sbni_card_probe:                       ## @sbni_card_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CSR0@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_inb
                                        ## kill: def $al killed $al def $rax
	leal	-1(%rax), %ecx
	cmpb	$-3, %cl
	ja	LBB0_2
## %bb.1:
	movq	_EN_INT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%ecx, %edx
	notb	%dl
	andb	%al, %dl
	movq	_BU_EMP@GOTPCREL(%rip), %rsi
	orb	%al, %cl
	testb	%dl, (%rsi)
	movzbl	%cl, %eax
	movzbl	%dl, %ecx
	cmovnel	%eax, %ecx
	movq	_VALID_DECODER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shrb	$4, %cl
	movzbl	%cl, %ecx
	xorl	%eax, %eax
	btl	%ecx, %edx
	jae	LBB0_2
## %bb.3:
	popq	%rbp
	retq
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CSR0,8,3                       ## @CSR0
	.comm	_EN_INT,1,0                     ## @EN_INT
	.comm	_BU_EMP,1,0                     ## @BU_EMP
	.comm	_VALID_DECODER,4,2              ## @VALID_DECODER
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_sbni_card_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbni_card_probe
_sbni_card_probe:                       ; @sbni_card_probe
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _CSR0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CSR0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, x0
	bl	_inb
	sub	w8, w0, #1
	cmp	w8, #253
	b.hi	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _EN_INT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EN_INT@GOTPAGEOFF]
	ldrb	w8, [x8]
	eor	w9, w8, #0xff
	and	w9, w0, w9
Lloh5:
	adrp	x10, _BU_EMP@GOTPAGE
Lloh6:
	ldr	x10, [x10, _BU_EMP@GOTPAGEOFF]
	ldrb	w10, [x10]
	orr	w8, w8, w0
	tst	w9, w10
	csel	w8, w9, w8, eq
Lloh7:
	adrp	x9, _VALID_DECODER@GOTPAGE
Lloh8:
	ldr	x9, [x9, _VALID_DECODER@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	lsr	w8, w8, #4
	lsr	w8, w9, w8
	tbz	w8, #0, LBB0_3
; %bb.2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_CSR0,8,3                       ; @CSR0
	.comm	_EN_INT,1,0                     ; @EN_INT
	.comm	_BU_EMP,1,0                     ; @BU_EMP
	.comm	_VALID_DECODER,4,2              ; @VALID_DECODER
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_sbni_card_probe
.subsections_via_symbols
