	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_vdev_setup_sync
_ath10k_vdev_setup_sync:                ## @ath10k_vdev_setup_sync
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$12, %rdi
	callq	_lockdep_assert_held
	movq	_ATH10K_FLAG_CRASH_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_ESHUTDOWN@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_3:
	leaq	4(%rbx), %rdi
	movq	_ATH10K_VDEV_SETUP_TIMEOUT_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wait_for_completion_timeout
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%rbx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_FLAG_CRASH_FLUSH,4,2    ## @ATH10K_FLAG_CRASH_FLUSH
	.comm	_ESHUTDOWN,4,2                  ## @ESHUTDOWN
	.comm	_ATH10K_VDEV_SETUP_TIMEOUT_HZ,4,2 ## @ATH10K_VDEV_SETUP_TIMEOUT_HZ
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_ath10k_vdev_setup_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_vdev_setup_sync
_ath10k_vdev_setup_sync:                ; @ath10k_vdev_setup_sync
	.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
	add	x0, x0, #12
	bl	_lockdep_assert_held
Lloh0:
	adrp	x8, _ATH10K_FLAG_CRASH_FLUSH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_FLAG_CRASH_FLUSH@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _ESHUTDOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ESHUTDOWN@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_3:
	add	x0, x19, #4
Lloh5:
	adrp	x8, _ATH10K_VDEV_SETUP_TIMEOUT_HZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ATH10K_VDEV_SETUP_TIMEOUT_HZ@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_wait_for_completion_timeout
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w0, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh8:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_FLAG_CRASH_FLUSH,4,2    ; @ATH10K_FLAG_CRASH_FLUSH
	.comm	_ESHUTDOWN,4,2                  ; @ESHUTDOWN
	.comm	_ATH10K_VDEV_SETUP_TIMEOUT_HZ,4,2 ; @ATH10K_VDEV_SETUP_TIMEOUT_HZ
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_ath10k_vdev_setup_sync
.subsections_via_symbols
