	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fw_schedule_bus_reset          ## -- Begin function fw_schedule_bus_reset
	.p2align	4, 0x90
_fw_schedule_bus_reset:                 ## @fw_schedule_bus_reset
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movl	%edx, (%rdi)
	callq	_fw_card_get
	movq	_fw_workqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	4(%rbx), %r15
	testl	%r12d, %r12d
	je	LBB0_1
## %bb.2:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$100, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %edx
	jmp	LBB0_3
LBB0_1:
	xorl	%edx, %edx
LBB0_3:
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_queue_delayed_work
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fw_card_put                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fw_workqueue,4,2               ## @fw_workqueue
	.comm	_HZ,4,2                         ## @HZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fw_schedule_bus_reset          ; -- Begin function fw_schedule_bus_reset
	.p2align	2
_fw_schedule_bus_reset:                 ; @fw_schedule_bus_reset
	.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	x22, x1
	mov	x19, x0
	mov	x20, x0
	str	w2, [x20], #4
	bl	_fw_card_get
Lloh0:
	adrp	x8, _fw_workqueue@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fw_workqueue@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	cbz	w22, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _HZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #100
	bl	_DIV_ROUND_UP
	mov	x2, x0
	b	LBB0_3
LBB0_2:
	mov	w2, #0
LBB0_3:
	mov	x0, x21
	mov	x1, x20
	bl	_queue_delayed_work
	cbz	w0, LBB0_5
; %bb.4:
	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
LBB0_5:
	mov	x0, x19
	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
	b	_fw_card_put
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_fw_workqueue,4,2               ; @fw_workqueue
	.comm	_HZ,4,2                         ; @HZ
.subsections_via_symbols
