	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gigaset_block_channels         ## -- Begin function gigaset_block_channels
	.p2align	4, 0x90
_gigaset_block_channels:                ## @gigaset_block_channels
	.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
	movq	_DEBUG_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_gig_dbg
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_11
## %bb.1:
	movq	8(%rbx), %rcx
	cmpl	$8, %eax
	jae	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_10
LBB0_3:
	movl	%eax, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rsi
	movq	%rsi, %rbx
	shrq	$3, %rbx
	incq	%rbx
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	pcmpeqd	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rsi,4), %xmm1
	movdqu	16(%rcx,%rsi,4), %xmm2
	movdqu	32(%rcx,%rsi,4), %xmm3
	movdqu	48(%rcx,%rsi,4), %xmm4
	psubd	%xmm0, %xmm1
	psubd	%xmm0, %xmm2
	movdqu	%xmm1, (%rcx,%rsi,4)
	movdqu	%xmm2, 16(%rcx,%rsi,4)
	psubd	%xmm0, %xmm3
	psubd	%xmm0, %xmm4
	movdqu	%xmm3, 32(%rcx,%rsi,4)
	movdqu	%xmm4, 48(%rcx,%rsi,4)
	addq	$16, %rsi
	addq	$-2, %rdi
	jne	LBB0_6
## %bb.7:
	testb	$1, %bl
	je	LBB0_9
LBB0_8:
	movdqu	(%rcx,%rsi,4), %xmm0
	movdqu	16(%rcx,%rsi,4), %xmm1
	pcmpeqd	%xmm2, %xmm2
	psubd	%xmm2, %xmm0
	psubd	%xmm2, %xmm1
	movdqu	%xmm0, (%rcx,%rsi,4)
	movdqu	%xmm1, 16(%rcx,%rsi,4)
LBB0_9:
	cmpq	%rax, %rdx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	incl	(%rcx,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_10
LBB0_11:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_4:
	xorl	%esi, %esi
	testb	$1, %bl
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG_ANY,4,2                  ## @DEBUG_ANY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"blocking all channels"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gigaset_block_channels         ; -- Begin function gigaset_block_channels
	.p2align	2
_gigaset_block_channels:                ; @gigaset_block_channels
	.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, x0
Lloh0:
	adrp	x8, _DEBUG_ANY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEBUG_ANY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_gig_dbg
	add	x19, x20, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	ldr	x9, [x20, #8]
	cmp	w8, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	b	LBB0_6
LBB0_3:
	and	x10, x8, #0xfffffff0
	add	x11, x9, #32
	movi.4s	v0, #1
	mov	x12, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x11, #-32]
	ldp	q3, q4, [x11]
	add.4s	v1, v1, v0
	add.4s	v2, v2, v0
	add.4s	v3, v3, v0
	add.4s	v4, v4, v0
	stp	q1, q2, [x11, #-32]
	stp	q3, q4, [x11], #64
	subs	x12, x12, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x8
	b.eq	LBB0_8
LBB0_6:
	add	x9, x9, x10, lsl #2
	sub	x8, x8, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	add	w10, w10, #1
	str	w10, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG_ANY,4,2                  ; @DEBUG_ANY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"blocking all channels"

.subsections_via_symbols
