	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nxt6000_set_bandwidth
_nxt6000_set_bandwidth:                 ## @nxt6000_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	cmpl	$6000000, %esi                  ## imm = 0x5B8D80
	je	LBB0_1
## %bb.2:
	cmpl	$8000000, %esi                  ## imm = 0x7A1200
	je	LBB0_5
## %bb.3:
	cmpl	$7000000, %esi                  ## imm = 0x6ACFC0
	jne	LBB0_8
## %bb.4:
	movl	$25600, %ebx                    ## imm = 0x6400
	jmp	LBB0_6
LBB0_1:
	movl	$21943, %ebx                    ## imm = 0x55B7
	jmp	LBB0_6
LBB0_5:
	movl	$29257, %ebx                    ## imm = 0x7249
LBB0_6:
	movq	_OFDM_TRL_NOMINALRATE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bl, %edx
	movq	%r14, %rdi
	callq	_nxt6000_writereg
	testl	%eax, %eax
	js	LBB0_9
## %bb.7:
	movq	_OFDM_TRL_NOMINALRATE_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shrl	$8, %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nxt6000_writereg               ## TAILCALL
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_OFDM_TRL_NOMINALRATE_1,4,2     ## @OFDM_TRL_NOMINALRATE_1
	.comm	_OFDM_TRL_NOMINALRATE_2,4,2     ## @OFDM_TRL_NOMINALRATE_2
	.no_dead_strip	_nxt6000_set_bandwidth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nxt6000_set_bandwidth
_nxt6000_set_bandwidth:                 ; @nxt6000_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	x19, x0
	sub	w8, w1, #1464, lsl #12          ; =5996544
	cmp	w8, #3456
	b.eq	LBB0_4
; %bb.1:
	mov	w8, #4608
	movk	w8, #122, lsl #16
	cmp	w1, w8
	b.eq	LBB0_5
; %bb.2:
	mov	w8, #53184
	movk	w8, #106, lsl #16
	cmp	w1, w8
	b.ne	LBB0_8
; %bb.3:
	mov	w20, #25600
	b	LBB0_6
LBB0_4:
	mov	w20, #21943
	b	LBB0_6
LBB0_5:
	mov	w20, #29257
LBB0_6:
Lloh0:
	adrp	x8, _OFDM_TRL_NOMINALRATE_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OFDM_TRL_NOMINALRATE_1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	and	w2, w20, #0xff
	mov	x0, x19
	bl	_nxt6000_writereg
	tbnz	w0, #31, LBB0_9
; %bb.7:
Lloh3:
	adrp	x8, _OFDM_TRL_NOMINALRATE_2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OFDM_TRL_NOMINALRATE_2@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	lsr	w2, w20, #8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nxt6000_writereg
LBB0_8:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_OFDM_TRL_NOMINALRATE_1,4,2     ; @OFDM_TRL_NOMINALRATE_1
	.comm	_OFDM_TRL_NOMINALRATE_2,4,2     ; @OFDM_TRL_NOMINALRATE_2
	.no_dead_strip	_nxt6000_set_bandwidth
.subsections_via_symbols
