	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_orinoco_get_bitratemode        ## -- Begin function orinoco_get_bitratemode
	.p2align	4, 0x90
_orinoco_get_bitratemode:               ## @orinoco_get_bitratemode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$-1, %eax
	cmpl	$55, %edi
	ja	LBB0_1
## %bb.2:
	movl	%edi, %ecx
	movabsq	$36028797020013568, %rdx        ## imm = 0x80000000100400
	btq	%rcx, %rdx
	jb	LBB0_3
LBB0_1:
	cmpl	$110, %edi
	jne	LBB0_9
LBB0_3:
	movq	_BITRATE_TABLE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_9
## %bb.4:
	movq	_bitrate_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdx
	cmpq	%rdx, %r8
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edi, (%rcx,%rdx,8)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%esi, 4(%rcx,%rdx,8)
	jne	LBB0_7
## %bb.8:
	movl	%edx, %eax
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BITRATE_TABLE_SIZE,4,2         ## @BITRATE_TABLE_SIZE
	.comm	_bitrate_table,8,3              ## @bitrate_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_orinoco_get_bitratemode        ; -- Begin function orinoco_get_bitratemode
	.p2align	2
_orinoco_get_bitratemode:               ; @orinoco_get_bitratemode
	.cfi_startproc
; %bb.0:
	cmp	w0, #55
	b.hi	LBB0_2
; %bb.1:
	mov	w8, w0
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #1024
	movk	x9, #16, lsl #16
	movk	x9, #128, lsl #48
	tst	x8, x9
	b.ne	LBB0_3
LBB0_2:
	cmp	w0, #110
	b.ne	LBB0_9
LBB0_3:
Lloh0:
	adrp	x8, _BITRATE_TABLE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BITRATE_TABLE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.4:
	mov	x8, #0
Lloh3:
	adrp	x10, _bitrate_table@GOTPAGE
Lloh4:
	ldr	x10, [x10, _bitrate_table@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x10, x10, #4
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, #1
	add	x10, x10, #8
	cmp	x9, x8
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w11, [x10, #-4]
	cmp	w11, w0
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w11, [x10]
	cmp	w11, w1
	b.ne	LBB0_5
; %bb.8:
	mov	x0, x8
	ret
LBB0_9:
	mov	w8, #-1
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BITRATE_TABLE_SIZE,4,2         ; @BITRATE_TABLE_SIZE
	.comm	_bitrate_table,8,3              ; @bitrate_table
.subsections_via_symbols
