	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rescan_store
_rescan_store:                          ## @rescan_store
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rdi
	leaq	-24(%rbp), %rdx
	xorl	%esi, %esi
	callq	_kstrtoul
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	cmpq	$0, -24(%rbp)
	je	LBB0_7
## %bb.3:
	xorl	%eax, %eax
	callq	_pci_lock_rescan_remove
	xorl	%edi, %edi
	callq	_pci_find_next_bus
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_pci_rescan_bus
	movq	%rbx, %rdi
	callq	_pci_find_next_bus
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	callq	_pci_unlock_rescan_remove
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subq	(%rax), %r14
LBB0_7:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,8,3                     ## @EINVAL
	.no_dead_strip	_rescan_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rescan_store
_rescan_store:                          ; @rescan_store
	.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
	mov	x19, x2
	mov	x0, x1
	add	x2, sp, #8
	mov	w1, #0
	bl	_kstrtoul
	tbnz	x0, #63, LBB0_6
; %bb.1:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_7
; %bb.2:
	bl	_pci_lock_rescan_remove
	mov	x0, #0
	bl	_pci_find_next_bus
	cbz	x0, LBB0_5
; %bb.3:
	mov	x20, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_pci_rescan_bus
	mov	x0, x20
	bl	_pci_find_next_bus
	mov	x20, x0
	cbnz	x0, LBB0_4
LBB0_5:
	bl	_pci_unlock_rescan_remove
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,8,3                     ; @EINVAL
	.no_dead_strip	_rescan_store
.subsections_via_symbols
