	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwlagn_bt_coex_profile_notif
_iwlagn_bt_coex_profile_notif:          ## @iwlagn_bt_coex_profile_notif
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_rxb_addr
	movq	(%rbx), %rcx
	movq	_IWLAGN_BT_FLAG_COEX_MODE_DISABLED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_13
## %bb.1:
	movq	(%rax), %r15
	leaq	24(%r15), %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_IWL_DEBUG_COEX
	movq	(%r15), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_IWL_DEBUG_COEX
	movq	8(%r15), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_IWL_DEBUG_COEX
	movq	16(%r15), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_IWL_DEBUG_COEX
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_iwlagn_print_uartmsg
	movq	16(%rbx), %rax
	movq	%rax, 8(%rbx)
	movq	%r14, %rdi
	callq	_iwlagn_bt_traffic_is_sco
	movl	%eax, 64(%rbx)
	movq	24(%rbx), %rax
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.2:
	leaq	8(%r15), %rcx
	movq	(%r15), %rax
	cmpq	%rax, 32(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	8(%rbx), %rdx
	cmpq	(%rcx), %rdx
	je	LBB0_9
LBB0_4:
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	cmpl	$0, 60(%rbx)
	jne	LBB0_8
## %bb.7:
	movq	_IWL_BT_COEX_TRAFFIC_LOAD_HIGH@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_5:
	movq	_IWL_BT_COEX_TRAFFIC_LOAD_NONE@GOTPCREL(%rip), %rcx
LBB0_8:
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rbx)
	movq	%rax, 32(%rbx)
	movl	52(%rbx), %edi
	leaq	56(%rbx), %rsi
	callq	_queue_work
LBB0_9:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_iwlagn_fill_txpower_mode
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_iwlagn_set_kill_msk
	testq	%rax, %rax
	je	LBB0_12
LBB0_11:
	movl	52(%rbx), %edi
	leaq	48(%rbx), %rsi
	callq	_queue_work
LBB0_12:
	movq	16(%r15), %rax
	movq	%rax, 40(%rbx)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWLAGN_BT_FLAG_COEX_MODE_DISABLED,8,3 ## @IWLAGN_BT_FLAG_COEX_MODE_DISABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BT Coex notification:\n"

L_.str.1:                               ## @.str.1
	.asciz	"    status: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"    traffic load: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"    CI compliance: %d\n"

	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_IWL_BT_COEX_TRAFFIC_LOAD_HIGH,8,3 ## @IWL_BT_COEX_TRAFFIC_LOAD_HIGH
	.comm	_IWL_BT_COEX_TRAFFIC_LOAD_NONE,8,3 ## @IWL_BT_COEX_TRAFFIC_LOAD_NONE
	.no_dead_strip	_iwlagn_bt_coex_profile_notif
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwlagn_bt_coex_profile_notif
_iwlagn_bt_coex_profile_notif:          ; @iwlagn_bt_coex_profile_notif
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	mov	x0, x1
	bl	_rxb_addr
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _IWLAGN_BT_FLAG_COEX_MODE_DISABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IWLAGN_BT_FLAG_COEX_MODE_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.1:
	ldr	x21, [x0]
	add	x20, x21, #24
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_COEX
	ldr	x8, [x21]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_COEX
	mov	x22, x21
	ldr	x8, [x22, #8]!
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_COEX
	ldr	x8, [x22, #8]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_COEX
	mov	x0, x19
	mov	x1, x20
	bl	_iwlagn_print_uartmsg
	ldr	x8, [x19, #16]
	str	x8, [x19, #8]
	mov	x0, x20
	bl	_iwlagn_bt_traffic_is_sco
	str	w0, [x19, #64]
	ldr	x8, [x19, #24]
Lloh11:
	adrp	x9, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.2:
	ldr	x9, [x19, #32]
	ldr	x8, [x21]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldr	x9, [x19, #8]
	ldr	x10, [x22]
	cmp	x9, x10
	b.eq	LBB0_8
LBB0_4:
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w9, [x19, #60]
Lloh14:
	adrp	x10, _IWL_BT_COEX_TRAFFIC_LOAD_HIGH@GOTPAGE
Lloh15:
	ldr	x10, [x10, _IWL_BT_COEX_TRAFFIC_LOAD_HIGH@GOTPAGEOFF]
	cmp	w9, #0
	csel	x9, x10, x22, eq
	b	LBB0_7
LBB0_6:
Lloh16:
	adrp	x9, _IWL_BT_COEX_TRAFFIC_LOAD_NONE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IWL_BT_COEX_TRAFFIC_LOAD_NONE@GOTPAGEOFF]
LBB0_7:
	ldr	x9, [x9]
	str	x9, [x19, #16]
	str	x8, [x19, #32]
	ldr	w0, [x19, #52]
	add	x1, x19, #56
	bl	_queue_work
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	bl	_iwlagn_fill_txpower_mode
	cbnz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	bl	_iwlagn_set_kill_msk
	cbz	x0, LBB0_11
LBB0_10:
	ldr	w0, [x19, #52]
	add	x1, x19, #48
	bl	_queue_work
LBB0_11:
	ldr	x8, [x21, #16]
	str	x8, [x19, #40]
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IWLAGN_BT_FLAG_COEX_MODE_DISABLED,8,3 ; @IWLAGN_BT_FLAG_COEX_MODE_DISABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BT Coex notification:\n"

l_.str.1:                               ; @.str.1
	.asciz	"    status: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"    traffic load: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"    CI compliance: %d\n"

	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_IWL_BT_COEX_TRAFFIC_LOAD_HIGH,8,3 ; @IWL_BT_COEX_TRAFFIC_LOAD_HIGH
	.comm	_IWL_BT_COEX_TRAFFIC_LOAD_NONE,8,3 ; @IWL_BT_COEX_TRAFFIC_LOAD_NONE
	.no_dead_strip	_iwlagn_bt_coex_profile_notif
.subsections_via_symbols
