	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _stack_restore
__stack_restore:                        ## @_stack_restore
	.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
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	%edx, %edi
	andl	$61440, %edi                    ## imm = 0xF000
	callq	_B43_WARN_ON
	movl	%r14d, %edi
	andl	$240, %edi
	callq	_B43_WARN_ON
	movq	_B43_INTERFSTACK_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.1:
	xorl	%edx, %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rdx,4), %eax
	movl	%eax, %esi
	andl	$4095, %esi                     ## imm = 0xFFF
	cmpl	%ebx, %esi
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %esi
	shrl	$12, %esi
	andl	$15, %esi
	cmpl	%r14d, %esi
	jne	LBB0_5
## %bb.4:
	shrl	$16, %eax
	jmp	LBB0_7
LBB0_6:
	movl	$1, %edi
	callq	_B43_WARN_ON
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_INTERFSTACK_SIZE,8,3       ## @B43_INTERFSTACK_SIZE
	.no_dead_strip	__stack_restore
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _stack_restore
__stack_restore:                        ; @_stack_restore
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x20, x1
	mov	x21, x0
	and	w0, w2, #0xf000
	bl	_B43_WARN_ON
	and	w0, w20, #0xf0
	bl	_B43_WARN_ON
Lloh0:
	adrp	x8, _B43_INTERFSTACK_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_INTERFSTACK_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21]
	and	w10, w9, #0xfff
	cmp	w10, w19
	ubfx	w10, w9, #12, #4
	ccmp	w10, w20, #0, eq
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x21, x21, #4
	subs	x8, x8, #1
	b.ne	LBB0_1
LBB0_3:
	mov	w0, #1
	bl	_B43_WARN_ON
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	lsr	w0, w9, #16
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_INTERFSTACK_SIZE,8,3       ; @B43_INTERFSTACK_SIZE
	.no_dead_strip	__stack_restore
.subsections_via_symbols
