	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dib9000_fw_pid_filter_ctrl     ## -- Begin function dib9000_fw_pid_filter_ctrl
	.p2align	4, 0x90
_dib9000_fw_pid_filter_ctrl:            ## @dib9000_fw_pid_filter_ctrl
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	(%rdi), %r12
	movl	(%r12), %eax
	cmpl	$-2, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$8, %eax
	jg	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_dprintk
	movslq	(%r12), %rax
	leaq	1(%rax), %rcx
	movl	%ecx, (%r12)
	movq	_DIB9000_PID_FILTER_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	8(%r12), %rdx
	movl	%ecx, 12(%rdx,%rax,8)
	movl	%r14d, 8(%rdx,%rax,8)
	jmp	LBB0_5
LBB0_3:
	leaq	4(%r12), %r15
	movq	%r15, %rdi
	callq	_mutex_lock_interruptible
	testq	%rax, %rax
	js	LBB0_4
## %bb.7:
	movq	%r12, %rdi
	movl	$295, %esi                      ## imm = 0x127
	callq	_dib9000_read_word
	andl	$65519, %eax                    ## imm = 0xFFEF
	movl	%r14d, %ebx
	shll	$4, %ebx
	andl	$16, %ebx
	orl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_dprintk
	movq	%r12, %rdi
	movl	$295, %esi                      ## imm = 0x127
	movl	%ebx, %edx
	callq	_dib9000_write_word
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_dprintk
	movq	_EINTR@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
LBB0_5:
	movl	%r15d, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pid filter cmd postpone\n"

	.comm	_DIB9000_PID_FILTER_CTRL,4,2    ## @DIB9000_PID_FILTER_CTRL
L_.str.1:                               ## @.str.1
	.asciz	"could not get the lock\n"

	.comm	_EINTR,4,2                      ## @EINTR
L_.str.2:                               ## @.str.2
	.asciz	"PID filter enabled %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dib9000_fw_pid_filter_ctrl     ; -- Begin function dib9000_fw_pid_filter_ctrl
	.p2align	2
_dib9000_fw_pid_filter_ctrl:            ; @dib9000_fw_pid_filter_ctrl
	.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	x20, x1
	ldr	x19, [x0]
	ldr	w8, [x19]
	cmn	w8, #2
	ccmp	w8, #8, #0, ne
	b.le	LBB0_3
; %bb.1:
	add	x21, x19, #4
	mov	x0, x21
	bl	_mutex_lock_interruptible
	tbnz	x0, #63, LBB0_4
; %bb.2:
	mov	x0, x19
	mov	w1, #295
	bl	_dib9000_read_word
	mov	w8, #65519
	and	w22, w0, w8
	bfi	w22, w20, #4, #1
	str	x20, [sp]
Lloh0:
	adrp	x0, l_.str.2@PAGE
Lloh1:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dprintk
	mov	x0, x19
	mov	w1, #295
	mov	x2, x22
	bl	_dib9000_write_word
	mov	x19, x0
	mov	x0, x21
	bl	_mutex_unlock
	mov	x0, x19
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	mov	w0, #0
	ldrsw	x8, [x19]
	add	x8, x8, #1
Lloh4:
	adrp	x9, _DIB9000_PID_FILTER_CTRL@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DIB9000_PID_FILTER_CTRL@GOTPAGEOFF]
	str	w8, [x19]
Lloh6:
	ldr	w9, [x9]
	ldr	x10, [x19, #8]
	add	x8, x10, x8, lsl #3
	stp	w20, w9, [x8]
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintk
Lloh9:
	adrp	x8, _EINTR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pid filter cmd postpone\n"

	.comm	_DIB9000_PID_FILTER_CTRL,4,2    ; @DIB9000_PID_FILTER_CTRL
l_.str.1:                               ; @.str.1
	.asciz	"could not get the lock\n"

	.comm	_EINTR,4,2                      ; @EINTR
l_.str.2:                               ; @.str.2
	.asciz	"PID filter enabled %d\n"

.subsections_via_symbols
