	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nforce2_probe
_nforce2_probe:                         ## @nforce2_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	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$2, %edi
	movl	$24, %esi
	callq	_kcalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_pci_set_drvdata
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_5
## %bb.4:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	movq	%rax, 24(%rbx)
LBB0_5:
	movq	_NFORCE_PCI_SMB1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %r8
	movq	%r14, %rdi
	movl	$4, %esi
	movq	%rbx, %rcx
	callq	_nforce2_probe_smb
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_7
## %bb.6:
	movq	$0, 16(%rbx)
LBB0_7:
	movq	_nforce2_dmi_blacklist2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dmi_check_system
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	addq	$4, %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_EPERM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_9:
	movq	_NFORCE_PCI_SMB2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	24(%rbx), %rcx
	leaq	L_.str.2(%rip), %r8
	movq	%r14, %rdi
	movl	$5, %esi
	callq	_nforce2_probe_smb
	testl	%eax, %eax
	jns	LBB0_13
LBB0_10:
	movq	$0, 40(%rbx)
	testl	%r15d, %r15d
	jns	LBB0_13
## %bb.11:
	testl	%eax, %eax
	jns	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_kfree
	movq	_ENODEV@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_13:
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_nforce2_set_reference
	xorl	%eax, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NFORCE_PCI_SMB1,4,2            ## @NFORCE_PCI_SMB1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SMB1"

	.comm	_nforce2_dmi_blacklist2,4,2     ## @nforce2_dmi_blacklist2
L_.str.1:                               ## @.str.1
	.asciz	"Disabling SMB2 for safety reasons.\n"

	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_NFORCE_PCI_SMB2,4,2            ## @NFORCE_PCI_SMB2
L_.str.2:                               ## @.str.2
	.asciz	"SMB2"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_nforce2_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nforce2_probe
_nforce2_probe:                         ; @nforce2_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w0, #2
	mov	w1, #24
	bl	_kcalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_pci_set_drvdata
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_3
; %bb.2:
	movi.2s	v0, #1
	str	d0, [x19]
	str	d0, [x19, #24]
LBB0_3:
Lloh3:
	adrp	x8, _NFORCE_PCI_SMB1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NFORCE_PCI_SMB1@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x4, l_.str@PAGE
Lloh7:
	add	x4, x4, l_.str@PAGEOFF
	mov	x0, x20
	mov	w1, #4
	mov	x3, x19
	bl	_nforce2_probe_smb
	mov	x21, x0
	tbz	w0, #31, LBB0_5
; %bb.4:
	str	xzr, [x19, #16]
LBB0_5:
Lloh8:
	adrp	x8, _nforce2_dmi_blacklist2@GOTPAGE
Lloh9:
	ldr	x8, [x8, _nforce2_dmi_blacklist2@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_dmi_check_system
	cbz	x0, LBB0_8
; %bb.6:
	add	x0, x20, #4
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
Lloh13:
	adrp	x8, _EPERM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_7:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh18:
	adrp	x8, _NFORCE_PCI_SMB2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NFORCE_PCI_SMB2@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	add	x3, x19, #24
Lloh21:
	adrp	x4, l_.str.2@PAGE
Lloh22:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w1, #5
	bl	_nforce2_probe_smb
	tbz	w0, #31, LBB0_13
LBB0_9:
	str	xzr, [x19, #40]
	tbz	w21, #31, LBB0_13
; %bb.10:
	tbz	w0, #31, LBB0_13
; %bb.11:
	mov	x0, x19
	bl	_kfree
Lloh23:
	adrp	x8, _ENODEV@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_13:
	add	x0, x19, #8
	bl	_nforce2_set_reference
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NFORCE_PCI_SMB1,4,2            ; @NFORCE_PCI_SMB1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SMB1"

	.comm	_nforce2_dmi_blacklist2,4,2     ; @nforce2_dmi_blacklist2
l_.str.1:                               ; @.str.1
	.asciz	"Disabling SMB2 for safety reasons.\n"

	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_NFORCE_PCI_SMB2,4,2            ; @NFORCE_PCI_SMB2
l_.str.2:                               ; @.str.2
	.asciz	"SMB2"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_nforce2_probe
.subsections_via_symbols
