	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib7000p_set_bandwidth
_dib7000p_set_bandwidth:                ## @dib7000p_set_bandwidth
	.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	%esi, %r14d
	movq	%rdi, %r15
	movl	%esi, (%rdi)
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	callq	_dprintk
	movl	8(%r15), %eax
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	movq	16(%r15), %rax
	movl	(%rax), %eax
LBB0_3:
	movslq	%r14d, %rcx
	imulq	$1374389535, %rcx, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$36, %rcx
	addl	%edx, %ecx
	imull	%eax, %ecx
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rbx         ## imm = 0x66666667
	movq	%rbx, %rax
	shrq	$63, %rax
	sarq	$38, %rbx
	addl	%eax, %ebx
	movl	%ebx, %edx
	shrl	$16, %edx
	movq	%r15, %rdi
	movl	$23, %esi
	callq	_dib7000p_write_word
	movzwl	%bx, %edx
	movq	%r15, %rdi
	movl	$24, %esi
	callq	_dib7000p_write_word
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"using default timf\n"

L_.str.1:                               ## @.str.1
	.asciz	"using updated timf\n"

	.no_dead_strip	_dib7000p_set_bandwidth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib7000p_set_bandwidth
_dib7000p_set_bandwidth:                ; @dib7000p_set_bandwidth
	.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, x1
	mov	x19, x0
	str	w1, [x0]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintk
	ldr	w8, [x19, #8]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
LBB0_3:
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x9, w20, w9
	lsr	x10, x9, #63
	asr	x9, x9, #36
	add	w9, w9, w10
	mul	w8, w8, w9
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w20, w8, w9
	lsr	w2, w20, #16
	mov	x0, x19
	mov	w1, #23
	bl	_dib7000p_write_word
	and	w2, w20, #0xffff
	mov	x0, x19
	mov	w1, #24
	bl	_dib7000p_write_word
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"using default timf\n"

l_.str.1:                               ; @.str.1
	.asciz	"using updated timf\n"

	.no_dead_strip	_dib7000p_set_bandwidth
.subsections_via_symbols
