	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib7000p_set_diversity_in
_dib7000p_set_diversity_in:             ## @dib7000p_set_diversity_in
	.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
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	movq	%rbx, %rdi
	movl	$207, %esi
	xorl	%edx, %edx
	callq	_dib7000p_write_word
	movq	$0, 8(%rbx)
LBB0_2:
	xorl	%r14d, %r14d
	movl	$1, %edx
	jmp	LBB0_5
LBB0_3:
	movl	%esi, %r14d
	movl	(%rbx), %edx
	shll	$4, %edx
	orl	$6, %edx
	movq	%rbx, %rdi
	movl	$207, %esi
	callq	_dib7000p_write_word
	movslq	%r14d, %rax
	movq	%rax, 8(%rbx)
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	movl	$16, %r14d
	movl	$6, %edx
LBB0_5:
	movq	%rbx, %rdi
	movl	$204, %esi
	callq	_dib7000p_write_word
	movq	%rbx, %rdi
	movl	$205, %esi
	movl	%r14d, %edx
	callq	_dib7000p_write_word
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"diversity combination deactivated - forced by COFDM parameters\n"

	.no_dead_strip	_dib7000p_set_diversity_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib7000p_set_diversity_in
_dib7000p_set_diversity_in:             ; @dib7000p_set_diversity_in
	.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
	ldr	x19, [x0]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	mov	x0, x19
	mov	w1, #207
	mov	w2, #0
	bl	_dib7000p_write_word
	str	xzr, [x19, #8]
LBB0_2:
	mov	w21, #0
	mov	w20, #1
	b	LBB0_5
LBB0_3:
	mov	x21, x1
	ldr	w8, [x19]
	mov	w20, #6
	mov	w2, #6
	bfi	w2, w8, #4, #28
	mov	x0, x19
	mov	w1, #207
	bl	_dib7000p_write_word
	sxtw	x8, w21
	str	x8, [x19, #8]
	cbz	w21, LBB0_2
; %bb.4:
	mov	w21, #16
LBB0_5:
	mov	x0, x19
	mov	w1, #204
	mov	x2, x20
	bl	_dib7000p_write_word
	mov	x0, x19
	mov	w1, #205
	mov	x2, x21
	bl	_dib7000p_write_word
	mov	w0, #0
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"diversity combination deactivated - forced by COFDM parameters\n"

	.no_dead_strip	_dib7000p_set_diversity_in
.subsections_via_symbols
