	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_hdl_csa                     ## -- Begin function il_hdl_csa
	.p2align	4, 0x90
_il_hdl_csa:                            ## @il_hdl_csa
	.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, %r14
	movq	%rsi, %rdi
	callq	_rxb_addr
	movq	%rax, %rbx
	movq	_S_CHANNEL_SWITCH_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r14), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	8(%rbx), %edi
	callq	_le32_to_cpu
	movq	(%rbx), %rdi
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	cmpq	(%r14), %rdi
	jne	LBB0_4
## %bb.3:
	movq	%rdi, 20(%r14)
	movq	%rdi, 8(%r14)
	callq	_le16_to_cpu
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_D_11H
	movq	%r14, %rdi
	movl	$1, %esi
	jmp	LBB0_5
LBB0_4:
	callq	_le16_to_cpu
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_IL_ERR
	movq	%r14, %rdi
	xorl	%esi, %esi
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_il_chswitch_done               ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S_CHANNEL_SWITCH_PENDING,4,2   ## @S_CHANNEL_SWITCH_PENDING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CSA notif: channel %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"CSA notif (fail) : channel %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_hdl_csa                     ; -- Begin function il_hdl_csa
	.p2align	2
_il_hdl_csa:                            ; @il_hdl_csa
	.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
	mov	x0, x1
	bl	_rxb_addr
	mov	x20, x0
Lloh0:
	adrp	x8, _S_CHANNEL_SWITCH_PENDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_CHANNEL_SWITCH_PENDING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w0, [x20, #8]
	bl	_le32_to_cpu
	mov	x8, x0
	ldr	x0, [x20]
	cbnz	w8, LBB0_4
; %bb.2:
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	stur	x0, [x19, #20]
	str	x0, [x19, #8]
	bl	_le16_to_cpu
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D_11H
	mov	x0, x19
	mov	w1, #1
	b	LBB0_5
LBB0_4:
	bl	_le16_to_cpu
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_IL_ERR
	mov	x0, x19
	mov	w1, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_il_chswitch_done
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_S_CHANNEL_SWITCH_PENDING,4,2   ; @S_CHANNEL_SWITCH_PENDING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CSA notif: channel %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"CSA notif (fail) : channel %d\n"

.subsections_via_symbols
