	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_attach              ## -- Begin function ath10k_wmi_attach
	.p2align	4, 0x90
_ath10k_wmi_attach:                     ## @ath10k_wmi_attach
	.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
	movq	64(%rdi), %rax
	movl	(%rax), %edx
	leal	-128(%rdx), %eax
	cmpl	$7, %eax
	ja	LBB0_12
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ath10k_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_14
LBB0_10:
	movq	%rbx, %rdi
	callq	_ath10k_wmi_tlv_attach
	movq	_wmi_tlv_key_cipher_suites@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_8:
	movq	_wmi_cmd_map@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rbx)
	movq	_wmi_ops@GOTPCREL(%rip), %rax
	movq	%rax, 48(%rbx)
	movq	_wmi_vdev_param_map@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	_wmi_pdev_param_map@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	_wmi_peer_flags_map@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_wmi_10_4_ops@GOTPCREL(%rip), %rax
	movq	%rax, 48(%rbx)
	movq	_wmi_10_4_cmd_map@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rbx)
	movq	_wmi_10_4_vdev_param_map@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	_wmi_10_4_pdev_param_map@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	_wmi_10_2_4_cmd_map@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rbx)
	movq	_wmi_10_2_4_ops@GOTPCREL(%rip), %rax
	movq	%rax, 48(%rbx)
	movq	_wmi_10_2_4_vdev_param_map@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	_wmi_10_2_4_pdev_param_map@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_6:
	movq	_wmi_10_2_cmd_map@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rbx)
	movq	_wmi_10_2_ops@GOTPCREL(%rip), %rax
	movq	%rax, 48(%rbx)
	movq	_wmi_10x_vdev_param_map@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	_wmi_10x_pdev_param_map@GOTPCREL(%rip), %rax
LBB0_3:
	movq	%rax, 32(%rbx)
	movq	_wmi_10_2_peer_flags_map@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	movq	_wmi_10x_cmd_map@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rbx)
	movq	_wmi_10_1_ops@GOTPCREL(%rip), %rax
	movq	%rax, 48(%rbx)
	movq	_wmi_10x_vdev_param_map@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	_wmi_10x_pdev_param_map@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	_wmi_10x_peer_flags_map@GOTPCREL(%rip), %rax
LBB0_4:
	movq	%rax, 24(%rbx)
	movq	_wmi_key_cipher_suites@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rax
	movq	%rax, 80(%rbx)
LBB0_12:
	leaq	16(%rbx), %rdi
	callq	_init_completion
	leaq	12(%rbx), %rdi
	callq	_init_completion
	leaq	8(%rbx), %rdi
	callq	_init_completion
	leaq	4(%rbx), %rdi
	callq	_init_completion
	leaq	76(%rbx), %rdi
	movq	_ath10k_wmi_event_service_ready_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	72(%rbx), %rdi
	movq	_ath10k_radar_confirmation_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	_ATH10K_FW_FEATURE_MGMT_TX_BY_REF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	64(%rbx), %rax
	movl	4(%rax), %esi
	callq	_test_bit
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	callq	_idr_init
LBB0_14:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_wmi_10_4_ops,4,2               ## @wmi_10_4_ops
	.comm	_wmi_10_4_cmd_map,4,2           ## @wmi_10_4_cmd_map
	.comm	_wmi_10_4_vdev_param_map,4,2    ## @wmi_10_4_vdev_param_map
	.comm	_wmi_10_4_pdev_param_map,4,2    ## @wmi_10_4_pdev_param_map
	.comm	_wmi_10_2_peer_flags_map,4,2    ## @wmi_10_2_peer_flags_map
	.comm	_wmi_key_cipher_suites,8,3      ## @wmi_key_cipher_suites
	.comm	_wmi_10_2_4_cmd_map,4,2         ## @wmi_10_2_4_cmd_map
	.comm	_wmi_10_2_4_ops,4,2             ## @wmi_10_2_4_ops
	.comm	_wmi_10_2_4_vdev_param_map,4,2  ## @wmi_10_2_4_vdev_param_map
	.comm	_wmi_10_2_4_pdev_param_map,4,2  ## @wmi_10_2_4_pdev_param_map
	.comm	_wmi_10_2_cmd_map,4,2           ## @wmi_10_2_cmd_map
	.comm	_wmi_10_2_ops,4,2               ## @wmi_10_2_ops
	.comm	_wmi_10x_vdev_param_map,4,2     ## @wmi_10x_vdev_param_map
	.comm	_wmi_10x_pdev_param_map,4,2     ## @wmi_10x_pdev_param_map
	.comm	_wmi_10x_cmd_map,4,2            ## @wmi_10x_cmd_map
	.comm	_wmi_10_1_ops,4,2               ## @wmi_10_1_ops
	.comm	_wmi_10x_peer_flags_map,4,2     ## @wmi_10x_peer_flags_map
	.comm	_wmi_cmd_map,4,2                ## @wmi_cmd_map
	.comm	_wmi_ops,4,2                    ## @wmi_ops
	.comm	_wmi_vdev_param_map,4,2         ## @wmi_vdev_param_map
	.comm	_wmi_pdev_param_map,4,2         ## @wmi_pdev_param_map
	.comm	_wmi_peer_flags_map,4,2         ## @wmi_peer_flags_map
	.comm	_wmi_tlv_key_cipher_suites,8,3  ## @wmi_tlv_key_cipher_suites
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported WMI op version: %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ath10k_wmi_event_service_ready_work,4,2 ## @ath10k_wmi_event_service_ready_work
	.comm	_ath10k_radar_confirmation_work,4,2 ## @ath10k_radar_confirmation_work
	.comm	_ATH10K_FW_FEATURE_MGMT_TX_BY_REF,4,2 ## @ATH10K_FW_FEATURE_MGMT_TX_BY_REF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_attach              ; -- Begin function ath10k_wmi_attach
	.p2align	2
_ath10k_wmi_attach:                     ; @ath10k_wmi_attach
	.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
	ldr	x8, [x0, #64]
	ldr	w2, [x8]
	sub	w8, w2, #128
	cmp	w8, #7
	b.hi	LBB0_12
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_err
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_3:
	mov	x0, x19
	bl	_ath10k_wmi_tlv_attach
Lloh7:
	adrp	x8, _wmi_tlv_key_cipher_suites@GOTPAGE
Lloh8:
	ldr	x8, [x8, _wmi_tlv_key_cipher_suites@GOTPAGEOFF]
	b	LBB0_11
LBB0_4:
Lloh9:
	adrp	x8, _wmi_cmd_map@GOTPAGE
Lloh10:
	ldr	x8, [x8, _wmi_cmd_map@GOTPAGEOFF]
	str	x8, [x19, #56]
Lloh11:
	adrp	x8, _wmi_ops@GOTPAGE
Lloh12:
	ldr	x8, [x8, _wmi_ops@GOTPAGEOFF]
Lloh13:
	adrp	x9, _wmi_vdev_param_map@GOTPAGE
Lloh14:
	ldr	x9, [x9, _wmi_vdev_param_map@GOTPAGEOFF]
	stp	x9, x8, [x19, #40]
Lloh15:
	adrp	x8, _wmi_pdev_param_map@GOTPAGE
Lloh16:
	ldr	x8, [x8, _wmi_pdev_param_map@GOTPAGEOFF]
Lloh17:
	adrp	x9, _wmi_peer_flags_map@GOTPAGE
Lloh18:
	ldr	x9, [x9, _wmi_peer_flags_map@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
Lloh19:
	adrp	x8, _wmi_10_4_ops@GOTPAGE
Lloh20:
	ldr	x8, [x8, _wmi_10_4_ops@GOTPAGEOFF]
Lloh21:
	adrp	x9, _wmi_10_4_cmd_map@GOTPAGE
Lloh22:
	ldr	x9, [x9, _wmi_10_4_cmd_map@GOTPAGEOFF]
	str	x9, [x19, #56]
Lloh23:
	adrp	x9, _wmi_10_4_vdev_param_map@GOTPAGE
Lloh24:
	ldr	x9, [x9, _wmi_10_4_vdev_param_map@GOTPAGEOFF]
	stp	x9, x8, [x19, #40]
Lloh25:
	adrp	x8, _wmi_10_4_pdev_param_map@GOTPAGE
Lloh26:
	ldr	x8, [x8, _wmi_10_4_pdev_param_map@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh27:
	adrp	x8, _wmi_10_2_4_cmd_map@GOTPAGE
Lloh28:
	ldr	x8, [x8, _wmi_10_2_4_cmd_map@GOTPAGEOFF]
	str	x8, [x19, #56]
Lloh29:
	adrp	x8, _wmi_10_2_4_ops@GOTPAGE
Lloh30:
	ldr	x8, [x8, _wmi_10_2_4_ops@GOTPAGEOFF]
Lloh31:
	adrp	x9, _wmi_10_2_4_vdev_param_map@GOTPAGE
Lloh32:
	ldr	x9, [x9, _wmi_10_2_4_vdev_param_map@GOTPAGEOFF]
	stp	x9, x8, [x19, #40]
Lloh33:
	adrp	x8, _wmi_10_2_4_pdev_param_map@GOTPAGE
Lloh34:
	ldr	x8, [x8, _wmi_10_2_4_pdev_param_map@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh35:
	adrp	x8, _wmi_10_2_cmd_map@GOTPAGE
Lloh36:
	ldr	x8, [x8, _wmi_10_2_cmd_map@GOTPAGEOFF]
	str	x8, [x19, #56]
Lloh37:
	adrp	x8, _wmi_10_2_ops@GOTPAGE
Lloh38:
	ldr	x8, [x8, _wmi_10_2_ops@GOTPAGEOFF]
Lloh39:
	adrp	x9, _wmi_10x_vdev_param_map@GOTPAGE
Lloh40:
	ldr	x9, [x9, _wmi_10x_vdev_param_map@GOTPAGEOFF]
	stp	x9, x8, [x19, #40]
Lloh41:
	adrp	x8, _wmi_10x_pdev_param_map@GOTPAGE
Lloh42:
	ldr	x8, [x8, _wmi_10x_pdev_param_map@GOTPAGEOFF]
LBB0_8:
Lloh43:
	adrp	x9, _wmi_10_2_peer_flags_map@GOTPAGE
Lloh44:
	ldr	x9, [x9, _wmi_10_2_peer_flags_map@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh45:
	adrp	x8, _wmi_10x_cmd_map@GOTPAGE
Lloh46:
	ldr	x8, [x8, _wmi_10x_cmd_map@GOTPAGEOFF]
	str	x8, [x19, #56]
Lloh47:
	adrp	x8, _wmi_10_1_ops@GOTPAGE
Lloh48:
	ldr	x8, [x8, _wmi_10_1_ops@GOTPAGEOFF]
Lloh49:
	adrp	x9, _wmi_10x_vdev_param_map@GOTPAGE
Lloh50:
	ldr	x9, [x9, _wmi_10x_vdev_param_map@GOTPAGEOFF]
	stp	x9, x8, [x19, #40]
Lloh51:
	adrp	x8, _wmi_10x_pdev_param_map@GOTPAGE
Lloh52:
	ldr	x8, [x8, _wmi_10x_pdev_param_map@GOTPAGEOFF]
Lloh53:
	adrp	x9, _wmi_10x_peer_flags_map@GOTPAGE
Lloh54:
	ldr	x9, [x9, _wmi_10x_peer_flags_map@GOTPAGEOFF]
LBB0_10:
	stp	x9, x8, [x19, #24]
Lloh55:
	adrp	x8, _wmi_key_cipher_suites@GOTPAGE
Lloh56:
	ldr	x8, [x8, _wmi_key_cipher_suites@GOTPAGEOFF]
LBB0_11:
	ldr	x8, [x8]
	str	x8, [x19, #80]
LBB0_12:
	add	x0, x19, #16
	bl	_init_completion
	add	x0, x19, #12
	bl	_init_completion
	add	x0, x19, #8
	bl	_init_completion
	add	x0, x19, #4
	bl	_init_completion
	add	x0, x19, #76
Lloh57:
	adrp	x8, _ath10k_wmi_event_service_ready_work@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ath10k_wmi_event_service_ready_work@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #72
Lloh60:
	adrp	x8, _ath10k_radar_confirmation_work@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ath10k_radar_confirmation_work@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh63:
	adrp	x8, _ATH10K_FW_FEATURE_MGMT_TX_BY_REF@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ATH10K_FW_FEATURE_MGMT_TX_BY_REF@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
	ldr	x8, [x19, #64]
	ldr	w1, [x8, #4]
	bl	_test_bit
	cbz	x0, LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_idr_init
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_wmi_10_4_ops,4,2               ; @wmi_10_4_ops
	.comm	_wmi_10_4_cmd_map,4,2           ; @wmi_10_4_cmd_map
	.comm	_wmi_10_4_vdev_param_map,4,2    ; @wmi_10_4_vdev_param_map
	.comm	_wmi_10_4_pdev_param_map,4,2    ; @wmi_10_4_pdev_param_map
	.comm	_wmi_10_2_peer_flags_map,4,2    ; @wmi_10_2_peer_flags_map
	.comm	_wmi_key_cipher_suites,8,3      ; @wmi_key_cipher_suites
	.comm	_wmi_10_2_4_cmd_map,4,2         ; @wmi_10_2_4_cmd_map
	.comm	_wmi_10_2_4_ops,4,2             ; @wmi_10_2_4_ops
	.comm	_wmi_10_2_4_vdev_param_map,4,2  ; @wmi_10_2_4_vdev_param_map
	.comm	_wmi_10_2_4_pdev_param_map,4,2  ; @wmi_10_2_4_pdev_param_map
	.comm	_wmi_10_2_cmd_map,4,2           ; @wmi_10_2_cmd_map
	.comm	_wmi_10_2_ops,4,2               ; @wmi_10_2_ops
	.comm	_wmi_10x_vdev_param_map,4,2     ; @wmi_10x_vdev_param_map
	.comm	_wmi_10x_pdev_param_map,4,2     ; @wmi_10x_pdev_param_map
	.comm	_wmi_10x_cmd_map,4,2            ; @wmi_10x_cmd_map
	.comm	_wmi_10_1_ops,4,2               ; @wmi_10_1_ops
	.comm	_wmi_10x_peer_flags_map,4,2     ; @wmi_10x_peer_flags_map
	.comm	_wmi_cmd_map,4,2                ; @wmi_cmd_map
	.comm	_wmi_ops,4,2                    ; @wmi_ops
	.comm	_wmi_vdev_param_map,4,2         ; @wmi_vdev_param_map
	.comm	_wmi_pdev_param_map,4,2         ; @wmi_pdev_param_map
	.comm	_wmi_peer_flags_map,4,2         ; @wmi_peer_flags_map
	.comm	_wmi_tlv_key_cipher_suites,8,3  ; @wmi_tlv_key_cipher_suites
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported WMI op version: %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ath10k_wmi_event_service_ready_work,4,2 ; @ath10k_wmi_event_service_ready_work
	.comm	_ath10k_radar_confirmation_work,4,2 ; @ath10k_radar_confirmation_work
	.comm	_ATH10K_FW_FEATURE_MGMT_TX_BY_REF,4,2 ; @ATH10K_FW_FEATURE_MGMT_TX_BY_REF
.subsections_via_symbols
