	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_snoc_probe
_ath10k_snoc_probe:                     ## @ath10k_snoc_probe
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_ath10k_snoc_dt_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rax), %r12
	movl	12(%r12), %esi
	movq	%r15, %rdi
	callq	_dma_set_mask_and_coherent
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_12
LBB0_3:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_4:
	movq	_ATH10K_BUS_SNOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%r12), %ecx
	movq	_ath10k_snoc_hif_ops@GOTPCREL(%rip), %r8
	movl	$40, %edi
	movq	%r15, %rsi
	callq	_ath10k_core_create
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_ath10k_snoc_priv
	movq	%rax, %r13
	movq	%r15, 32(%rax)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	%r14, 24(%r13)
	leaq	16(%r13), %rax
	movq	_ath10k_snoc_bus_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 16(%r13)
	movq	%rax, (%r14)
	movq	(%r12), %r12
	movq	%r14, %rdi
	callq	_ath10k_snoc_resource_init
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_10
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_8:
	movq	%r14, %rdi
	callq	_ath10k_snoc_setup_resource
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
LBB0_10:
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_ath10k_warn
LBB0_11:
	movq	%r14, %rdi
	callq	_ath10k_core_destroy
LBB0_12:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%r14, %rdi
	callq	_ath10k_snoc_request_irq
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ath10k_warn
	jmp	LBB0_28
LBB0_15:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	_vreg_cfg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, 8(%r13)
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_19
## %bb.16:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdx
	addq	%r12, %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ath10k_get_vreg_info
	testl	%eax, %eax
	jne	LBB0_26
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	incq	%r13
	movq	_vreg_cfg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	addq	$4, %r12
	cmpq	%rax, %r13
	jb	LBB0_17
LBB0_19:
	movq	_clk_cfg@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	(%rdx), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_23
## %bb.20:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	addq	%r12, %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ath10k_get_clk_info
	testl	%eax, %eax
	jne	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	incq	%r13
	movq	_clk_cfg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	addq	$4, %r12
	cmpq	%rax, %r13
	jb	LBB0_21
LBB0_23:
	movq	%r14, %rdi
	callq	_ath10k_hw_power_on
	testl	%eax, %eax
	je	LBB0_29
## %bb.24:
	movl	%eax, %ebx
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ath10k_err
	jmp	LBB0_27
LBB0_26:
	movl	%eax, %ebx
LBB0_27:
	movq	%r14, %rdi
	callq	_ath10k_snoc_free_irq
LBB0_28:
	movq	%r14, %rdi
	callq	_ath10k_snoc_release_resource
	jmp	LBB0_11
LBB0_29:
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_ath10k_qmi_init
	testl	%eax, %eax
	je	LBB0_31
## %bb.30:
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_10
LBB0_31:
	movq	_ATH10K_DBG_SNOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.8(%rip), %rdx
	movq	%r14, %rdi
	callq	_ath10k_dbg
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ath10k_snoc_dt_match,4,2       ## @ath10k_snoc_dt_match
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to find matching device tree id\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"failed to set dma mask: %d"

	.comm	_ATH10K_BUS_SNOC,4,2            ## @ATH10K_BUS_SNOC
	.comm	_ath10k_snoc_hif_ops,4,2        ## @ath10k_snoc_hif_ops
L_.str.2:                               ## @.str.2
	.asciz	"failed to allocate core\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ath10k_snoc_bus_ops,4,2        ## @ath10k_snoc_bus_ops
L_.str.3:                               ## @.str.3
	.asciz	"failed to initialize resource: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"failed to setup resource: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"failed to request irqs: %d\n"

	.comm	_vreg_cfg,8,3                   ## @vreg_cfg
	.comm	_clk_cfg,8,3                    ## @clk_cfg
L_.str.6:                               ## @.str.6
	.asciz	"failed to power on device: %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"failed to register wlfw qmi client: %d\n"

	.comm	_ATH10K_DBG_SNOC,4,2            ## @ATH10K_DBG_SNOC
L_.str.8:                               ## @.str.8
	.asciz	"snoc probe\n"

	.no_dead_strip	_ath10k_snoc_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_snoc_probe
_ath10k_snoc_probe:                     ; @ath10k_snoc_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
Lloh0:
	adrp	x8, _ath10k_snoc_dt_match@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ath10k_snoc_dt_match@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_of_match_device
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x21, [x0]
	ldr	w1, [x21, #12]
	mov	x0, x20
	bl	_dma_set_mask_and_coherent
	cbz	w0, LBB0_5
; %bb.2:
	mov	x23, x0
	str	x23, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_13
LBB0_3:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_13
LBB0_5:
Lloh9:
	adrp	x8, _ATH10K_BUS_SNOC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATH10K_BUS_SNOC@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	ldr	w3, [x21, #8]
Lloh12:
	adrp	x4, _ath10k_snoc_hif_ops@GOTPAGE
Lloh13:
	ldr	x4, [x4, _ath10k_snoc_hif_ops@GOTPAGEOFF]
	mov	w0, #40
	mov	x1, x20
	bl	_ath10k_core_create
	cbz	x0, LBB0_8
; %bb.6:
	mov	x19, x0
	bl	_ath10k_snoc_priv
	mov	x22, x0
	str	x20, [x0, #32]
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
Lloh14:
	adrp	x8, _ath10k_snoc_bus_ops@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ath10k_snoc_bus_ops@GOTPAGEOFF]
	str	x19, [x22, #24]
	mov	x9, x22
	str	x8, [x9, #16]!
	str	x9, [x19]
	ldr	x21, [x21]
	mov	x0, x19
	bl	_ath10k_snoc_resource_init
	cbz	w0, LBB0_9
; %bb.7:
	mov	x23, x0
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_8:
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_4
LBB0_9:
	mov	x0, x19
	bl	_ath10k_snoc_setup_resource
	cbz	w0, LBB0_14
; %bb.10:
	mov	x23, x0
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_11:
	mov	x0, x19
	mov	x2, x23
	bl	_ath10k_warn
LBB0_12:
	mov	x0, x19
	bl	_ath10k_core_destroy
LBB0_13:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_14:
	mov	x0, x19
	bl	_ath10k_snoc_request_irq
	cbz	w0, LBB0_16
; %bb.15:
	mov	x23, x0
Lloh24:
	adrp	x1, l_.str.5@PAGE
Lloh25:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	bl	_ath10k_warn
	b	LBB0_28
LBB0_16:
Lloh26:
	adrp	x24, _vreg_cfg@GOTPAGE
Lloh27:
	ldr	x24, [x24, _vreg_cfg@GOTPAGEOFF]
	ldr	x0, [x24]
	str	x0, [x22, #8]
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_20
; %bb.17:
	mov	x25, #0
	mov	x26, #0
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	add	x2, x8, x25
	mov	x0, x19
	mov	x1, x20
	bl	_ath10k_get_vreg_info
	cbnz	w0, LBB0_26
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x26, x26, #1
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	add	x25, x25, #4
	cmp	x26, x0
	b.lo	LBB0_18
LBB0_20:
Lloh28:
	adrp	x24, _clk_cfg@GOTPAGE
Lloh29:
	ldr	x24, [x24, _clk_cfg@GOTPAGEOFF]
	ldr	x8, [x24]
	str	x8, [x22]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_24
; %bb.21:
	mov	x25, #0
	mov	x26, #0
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	add	x2, x8, x25
	mov	x0, x19
	mov	x1, x20
	bl	_ath10k_get_clk_info
	cbnz	w0, LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	add	x26, x26, #1
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	add	x25, x25, #4
	cmp	x26, x0
	b.lo	LBB0_22
LBB0_24:
	mov	x0, x19
	bl	_ath10k_hw_power_on
	cbz	w0, LBB0_29
; %bb.25:
	mov	x23, x0
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	bl	_ath10k_err
	b	LBB0_27
LBB0_26:
	mov	x23, x0
LBB0_27:
	mov	x0, x19
	bl	_ath10k_snoc_free_irq
LBB0_28:
	mov	x0, x19
	bl	_ath10k_snoc_release_resource
	b	LBB0_12
LBB0_29:
	mov	x0, x19
	mov	x1, x21
	bl	_ath10k_qmi_init
	mov	x23, x0
	cbz	w0, LBB0_31
; %bb.30:
Lloh32:
	adrp	x1, l_.str.7@PAGE
Lloh33:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_11
LBB0_31:
Lloh34:
	adrp	x8, _ATH10K_DBG_SNOC@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ATH10K_DBG_SNOC@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x2, l_.str.8@PAGE
Lloh38:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_ath10k_dbg
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_ath10k_snoc_dt_match,4,2       ; @ath10k_snoc_dt_match
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to find matching device tree id\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"failed to set dma mask: %d"

	.comm	_ATH10K_BUS_SNOC,4,2            ; @ATH10K_BUS_SNOC
	.comm	_ath10k_snoc_hif_ops,4,2        ; @ath10k_snoc_hif_ops
l_.str.2:                               ; @.str.2
	.asciz	"failed to allocate core\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ath10k_snoc_bus_ops,4,2        ; @ath10k_snoc_bus_ops
l_.str.3:                               ; @.str.3
	.asciz	"failed to initialize resource: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"failed to setup resource: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"failed to request irqs: %d\n"

	.comm	_vreg_cfg,8,3                   ; @vreg_cfg
	.comm	_clk_cfg,8,3                    ; @clk_cfg
l_.str.6:                               ; @.str.6
	.asciz	"failed to power on device: %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"failed to register wlfw qmi client: %d\n"

	.comm	_ATH10K_DBG_SNOC,4,2            ; @ATH10K_DBG_SNOC
l_.str.8:                               ; @.str.8
	.asciz	"snoc probe\n"

	.no_dead_strip	_ath10k_snoc_probe
.subsections_via_symbols
