	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_pci_get_num_banks
_ath10k_pci_get_num_banks:              ## @ath10k_pci_get_num_banks
	.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
	callq	_ath10k_pci_priv
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	$1, %r14d
	leal	-128(%rax), %ecx
	cmpl	$6, %ecx
	jb	LBB0_7
## %bb.1:
	leal	-143(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_2
## %bb.4:
	movl	(%rbx), %edi
	movq	_SOC_CHIP_ID_REV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MS
	addl	$-135, %eax
	cmpl	$8, %eax
	jae	LBB0_5
## %bb.6:
	cltq
	leaq	l_switch.table.ath10k_pci_get_num_banks(%rip), %rcx
	movl	(%rcx,%rax,4), %r14d
	jmp	LBB0_7
LBB0_2:
	cmpl	$134, %eax
	jne	LBB0_5
## %bb.3:
	movl	$9, %r14d
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ath10k_warn
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOC_CHIP_ID_REV,4,2            ## @SOC_CHIP_ID_REV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown number of banks, assuming 1\n"

	.no_dead_strip	_ath10k_pci_get_num_banks
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.ath10k_pci_get_num_banks
l_switch.table.ath10k_pci_get_num_banks:
	.long	9                               ## 0x9
	.long	9                               ## 0x9
	.long	9                               ## 0x9
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	3                               ## 0x3

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_pci_get_num_banks
_ath10k_pci_get_num_banks:              ; @ath10k_pci_get_num_banks
	.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
	bl	_ath10k_pci_priv
	ldr	x8, [x0]
	ldr	w8, [x8]
	sub	w9, w8, #128
	cmp	w9, #6
	b.lo	LBB0_7
; %bb.1:
	sub	w9, w8, #143
	cmp	w9, #2
	b.hs	LBB0_4
; %bb.2:
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _SOC_CHIP_ID_REV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOC_CHIP_ID_REV@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MS
	sub	w8, w0, #135
	cmp	w8, #8
	b.hs	LBB0_6
; %bb.3:
Lloh3:
	adrp	x9, l_switch.table.ath10k_pci_get_num_banks@PAGE
Lloh4:
	add	x9, x9, l_switch.table.ath10k_pci_get_num_banks@PAGEOFF
	ldr	w0, [x9, w8, sxtw #2]
	b	LBB0_8
LBB0_4:
	cmp	w8, #134
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #9
	b	LBB0_8
LBB0_6:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
LBB0_7:
	mov	w0, #1
LBB0_8:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SOC_CHIP_ID_REV,4,2            ; @SOC_CHIP_ID_REV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown number of banks, assuming 1\n"

	.no_dead_strip	_ath10k_pci_get_num_banks
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.ath10k_pci_get_num_banks
l_switch.table.ath10k_pci_get_num_banks:
	.long	9                               ; 0x9
	.long	9                               ; 0x9
	.long	9                               ; 0x9
	.long	3                               ; 0x3
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	3                               ; 0x3

.subsections_via_symbols
