	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_query_wakeup_reasons
_iwl_mvm_query_wakeup_reasons:          ## @iwl_mvm_query_wakeup_reasons
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_iwl_mvm_get_wakeup_status
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_mutex_unlock
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%r14, %rdi
	callq	_iwl_mvm_query_wakeup_reasons.cold.1
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_query_wakeup_reasons.cold.1
_iwl_mvm_query_wakeup_reasons.cold.1:   ## @iwl_mvm_query_wakeup_reasons.cold.1
	.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
	movl	24(%rdi), %edi
	callq	_le16_to_cpu
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_MAX_TID_COUNT,4,2          ## @IWL_MAX_TID_COUNT
	.comm	_IWL_DEVICE_FAMILY_22000,8,3    ## @IWL_DEVICE_FAMILY_22000
	.no_dead_strip	_iwl_mvm_query_wakeup_reasons
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_query_wakeup_reasons
_iwl_mvm_query_wakeup_reasons:          ; @iwl_mvm_query_wakeup_reasons
	.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
	bl	_iwl_mvm_get_wakeup_status
	mov	x20, x0
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, x19, #4
	bl	_mutex_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x20
	bl	_iwl_mvm_query_wakeup_reasons.cold.1
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function iwl_mvm_query_wakeup_reasons.cold.1
_iwl_mvm_query_wakeup_reasons.cold.1:   ; @iwl_mvm_query_wakeup_reasons.cold.1
	.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
	ldr	w0, [x0, #24]
	bl	_le16_to_cpu
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	brk	#0x1
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_MAX_TID_COUNT,4,2          ; @IWL_MAX_TID_COUNT
	.comm	_IWL_DEVICE_FAMILY_22000,8,3    ; @IWL_DEVICE_FAMILY_22000
	.no_dead_strip	_iwl_mvm_query_wakeup_reasons
.subsections_via_symbols
