	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_peer_assoc_h_phymode
_ath10k_peer_assoc_h_phymode:           ## @ath10k_peer_assoc_h_phymode
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %rax
	movq	%rdi, %r15
	movq	(%rsi), %r13
	movq	_MODE_UNKNOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_ath10k_mac_vif_chan
	movl	%eax, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_27
## %bb.1:
	movq	-48(%rbp), %rax
	movl	(%rax), %eax
	movq	%rax, %rcx
	shlq	$4, %rcx
	movq	(%r13), %rdx
	movq	(%rdx,%rcx), %rdi
	movq	8(%rdx,%rcx), %r13
	cmpq	$128, %rax
	je	LBB0_16
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_26
## %bb.3:
	cmpl	$0, 12(%r12)
	je	LBB0_8
## %bb.4:
	callq	_ath10k_peer_assoc_h_vht_masked
	testl	%eax, %eax
	je	LBB0_5
LBB0_8:
	cmpl	$0, 8(%r12)
	je	LBB0_13
## %bb.9:
	movq	%r13, %rdi
	callq	_ath10k_peer_assoc_h_ht_masked
	testl	%eax, %eax
	je	LBB0_10
LBB0_13:
	movq	%r12, %rdi
	callq	_ath10k_mac_sta_has_ofdm_only
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movq	_MODE_11G@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_16:
	cmpl	$0, 12(%r12)
	je	LBB0_19
## %bb.17:
	callq	_ath10k_peer_assoc_h_vht_masked
	testl	%eax, %eax
	je	LBB0_18
LBB0_19:
	cmpl	$0, 8(%r12)
	je	LBB0_24
## %bb.20:
	movq	%r13, %rdi
	callq	_ath10k_peer_assoc_h_ht_masked
	testl	%eax, %eax
	je	LBB0_21
LBB0_24:
	movq	_MODE_11A@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_5:
	movl	4(%r12), %eax
	movq	_IEEE80211_STA_RX_BW_40@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.6:
	movq	_MODE_11AC_VHT40@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_18:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ath10k_mac_get_phymode_vht
	movl	%eax, %r14d
	jmp	LBB0_26
LBB0_15:
	movq	_MODE_11B@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_10:
	movl	4(%r12), %eax
	movq	_IEEE80211_STA_RX_BW_40@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_12
## %bb.11:
	movq	_MODE_11NG_HT40@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_21:
	movl	4(%r12), %eax
	movq	_IEEE80211_STA_RX_BW_40@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_22
## %bb.23:
	movq	_MODE_11NA_HT20@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_7:
	movq	_MODE_11AC_VHT20@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_12:
	movq	_MODE_11NG_HT20@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_22:
	movq	_MODE_11NA_HT40@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %r14d
LBB0_26:
	movq	_ATH10K_DBG_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	(%r12), %r12d
	movl	%r14d, %edi
	callq	_ath10k_wmi_phymode_str
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r12d, %ecx
	movl	%eax, %r8d
	callq	_ath10k_dbg
	movl	%r14d, (%rbx)
	xorl	%edi, %edi
	movq	_MODE_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	sete	%dil
	callq	_WARN_ON
LBB0_27:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_UNKNOWN,4,2               ## @MODE_UNKNOWN
	.comm	_IEEE80211_STA_RX_BW_40,4,2     ## @IEEE80211_STA_RX_BW_40
	.comm	_MODE_11AC_VHT40,4,2            ## @MODE_11AC_VHT40
	.comm	_MODE_11AC_VHT20,4,2            ## @MODE_11AC_VHT20
	.comm	_MODE_11NG_HT40,4,2             ## @MODE_11NG_HT40
	.comm	_MODE_11NG_HT20,4,2             ## @MODE_11NG_HT20
	.comm	_MODE_11G,4,2                   ## @MODE_11G
	.comm	_MODE_11B,4,2                   ## @MODE_11B
	.comm	_MODE_11NA_HT40,4,2             ## @MODE_11NA_HT40
	.comm	_MODE_11NA_HT20,4,2             ## @MODE_11NA_HT20
	.comm	_MODE_11A,4,2                   ## @MODE_11A
	.comm	_ATH10K_DBG_MAC,4,2             ## @ATH10K_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac peer %pM phymode %s\n"

	.no_dead_strip	_ath10k_peer_assoc_h_phymode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_peer_assoc_h_phymode
_ath10k_peer_assoc_h_phymode:           ; @ath10k_peer_assoc_h_phymode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x21, x2
	mov	x8, x1
	mov	x20, x0
	ldr	x23, [x1]
Lloh0:
	adrp	x24, _MODE_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MODE_UNKNOWN@GOTPAGEOFF]
	ldr	w22, [x24]
	add	x1, sp, #8
	mov	x0, x8
	bl	_ath10k_mac_vif_chan
	bl	_WARN_ON
	cbnz	x0, LBB0_27
; %bb.1:
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	ldr	x9, [x23]
	add	x9, x9, x8, lsl #4
	ldp	x0, x23, [x9]
	cmp	w8, #128
	b.eq	LBB0_9
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_26
; %bb.3:
	ldr	w8, [x21, #12]
	cbz	w8, LBB0_5
; %bb.4:
	bl	_ath10k_peer_assoc_h_vht_masked
	cbz	w0, LBB0_14
LBB0_5:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_7
; %bb.6:
	mov	x0, x23
	bl	_ath10k_peer_assoc_h_ht_masked
	cbz	w0, LBB0_18
LBB0_7:
	mov	x0, x21
	bl	_ath10k_mac_sta_has_ofdm_only
	cbz	w0, LBB0_17
; %bb.8:
Lloh2:
	adrp	x8, _MODE_11G@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MODE_11G@GOTPAGEOFF]
	b	LBB0_25
LBB0_9:
	ldr	w8, [x21, #12]
	cbz	w8, LBB0_11
; %bb.10:
	bl	_ath10k_peer_assoc_h_vht_masked
	cbz	w0, LBB0_16
LBB0_11:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_13
; %bb.12:
	mov	x0, x23
	bl	_ath10k_peer_assoc_h_ht_masked
	cbz	w0, LBB0_20
LBB0_13:
Lloh4:
	adrp	x8, _MODE_11A@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MODE_11A@GOTPAGEOFF]
	b	LBB0_25
LBB0_14:
	ldr	w8, [x21, #4]
Lloh6:
	adrp	x9, _IEEE80211_STA_RX_BW_40@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_STA_RX_BW_40@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_22
; %bb.15:
Lloh9:
	adrp	x8, _MODE_11AC_VHT40@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MODE_11AC_VHT40@GOTPAGEOFF]
	b	LBB0_25
LBB0_16:
	mov	x0, x20
	mov	x1, x21
	bl	_ath10k_mac_get_phymode_vht
	mov	x22, x0
	b	LBB0_26
LBB0_17:
Lloh11:
	adrp	x8, _MODE_11B@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MODE_11B@GOTPAGEOFF]
	b	LBB0_25
LBB0_18:
	ldr	w8, [x21, #4]
Lloh13:
	adrp	x9, _IEEE80211_STA_RX_BW_40@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IEEE80211_STA_RX_BW_40@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.19:
Lloh16:
	adrp	x8, _MODE_11NG_HT40@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MODE_11NG_HT40@GOTPAGEOFF]
	b	LBB0_25
LBB0_20:
	ldr	w8, [x21, #4]
Lloh18:
	adrp	x9, _IEEE80211_STA_RX_BW_40@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IEEE80211_STA_RX_BW_40@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_24
; %bb.21:
Lloh21:
	adrp	x8, _MODE_11NA_HT20@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MODE_11NA_HT20@GOTPAGEOFF]
	b	LBB0_25
LBB0_22:
Lloh23:
	adrp	x8, _MODE_11AC_VHT20@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MODE_11AC_VHT20@GOTPAGEOFF]
	b	LBB0_25
LBB0_23:
Lloh25:
	adrp	x8, _MODE_11NG_HT20@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MODE_11NG_HT20@GOTPAGEOFF]
	b	LBB0_25
LBB0_24:
Lloh27:
	adrp	x8, _MODE_11NA_HT40@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MODE_11NA_HT40@GOTPAGEOFF]
LBB0_25:
	ldr	w22, [x8]
LBB0_26:
Lloh29:
	adrp	x8, _ATH10K_DBG_MAC@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ATH10K_DBG_MAC@GOTPAGEOFF]
Lloh31:
	ldr	w23, [x8]
	ldr	w21, [x21]
	mov	x0, x22
	bl	_ath10k_wmi_phymode_str
	mov	x4, x0
Lloh32:
	adrp	x2, l_.str@PAGE
Lloh33:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	mov	x3, x21
	bl	_ath10k_dbg
	str	w22, [x19]
	ldr	w8, [x24]
	cmp	w22, w8
	cset	w0, eq
	bl	_WARN_ON
LBB0_27:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_UNKNOWN,4,2               ; @MODE_UNKNOWN
	.comm	_IEEE80211_STA_RX_BW_40,4,2     ; @IEEE80211_STA_RX_BW_40
	.comm	_MODE_11AC_VHT40,4,2            ; @MODE_11AC_VHT40
	.comm	_MODE_11AC_VHT20,4,2            ; @MODE_11AC_VHT20
	.comm	_MODE_11NG_HT40,4,2             ; @MODE_11NG_HT40
	.comm	_MODE_11NG_HT20,4,2             ; @MODE_11NG_HT20
	.comm	_MODE_11G,4,2                   ; @MODE_11G
	.comm	_MODE_11B,4,2                   ; @MODE_11B
	.comm	_MODE_11NA_HT40,4,2             ; @MODE_11NA_HT40
	.comm	_MODE_11NA_HT20,4,2             ; @MODE_11NA_HT20
	.comm	_MODE_11A,4,2                   ; @MODE_11A
	.comm	_ATH10K_DBG_MAC,4,2             ; @ATH10K_DBG_MAC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac peer %pM phymode %s\n"

	.no_dead_strip	_ath10k_peer_assoc_h_phymode
.subsections_via_symbols
