	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwlagn_mac_event_callback
_iwlagn_mac_event_callback:             ## @iwlagn_mac_event_callback
	.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	%rdx, %rbx
	callq	_IWL_MAC80211_GET_DVM
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	_RSSI_EVENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_IWL_DEBUG_MAC80211
	movq	16(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.3:
	movq	8(%rbx), %rcx
	movq	_RSSI_EVENT_LOW@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_5
## %bb.4:
	movq	_RSSI_EVENT_HIGH@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_6
LBB0_5:
	movl	%eax, (%r14)
LBB0_6:
	movl	8(%r14), %edi
	movq	%r14, %rsi
	addq	$4, %rsi
	callq	_queue_work
	jmp	LBB0_8
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_IWL_DEBUG_MAC80211
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_IWL_DEBUG_MAC80211             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RSSI_EVENT,8,3                 ## @RSSI_EVENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enter\n"

	.comm	_RSSI_EVENT_LOW,8,3             ## @RSSI_EVENT_LOW
	.comm	_RSSI_EVENT_HIGH,8,3            ## @RSSI_EVENT_HIGH
L_.str.1:                               ## @.str.1
	.asciz	"Advanced BT coex disabled,ignoring RSSI callback\n"

L_.str.2:                               ## @.str.2
	.asciz	"leave\n"

	.no_dead_strip	_iwlagn_mac_event_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwlagn_mac_event_callback
_iwlagn_mac_event_callback:             ; @iwlagn_mac_event_callback
	.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	x20, x2
	bl	_IWL_MAC80211_GET_DVM
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _RSSI_EVENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RSSI_EVENT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_IWL_DEBUG_MAC80211
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x8, [x20, #8]
Lloh5:
	adrp	x9, _RSSI_EVENT_LOW@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RSSI_EVENT_LOW@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	mov	w8, #1
	b	LBB0_9
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	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_MAC80211
	b	LBB0_11
LBB0_7:
Lloh10:
	adrp	x9, _RSSI_EVENT_HIGH@GOTPAGE
Lloh11:
	ldr	x9, [x9, _RSSI_EVENT_HIGH@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	mov	w8, #0
LBB0_9:
	str	w8, [x19]
LBB0_10:
	ldr	w0, [x19, #8]
	add	x1, x19, #4
	bl	_queue_work
LBB0_11:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_IWL_DEBUG_MAC80211
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RSSI_EVENT,8,3                 ; @RSSI_EVENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enter\n"

	.comm	_RSSI_EVENT_LOW,8,3             ; @RSSI_EVENT_LOW
	.comm	_RSSI_EVENT_HIGH,8,3            ; @RSSI_EVENT_HIGH
l_.str.1:                               ; @.str.1
	.asciz	"Advanced BT coex disabled,ignoring RSSI callback\n"

l_.str.2:                               ; @.str.2
	.asciz	"leave\n"

	.no_dead_strip	_iwlagn_mac_event_callback
.subsections_via_symbols
