	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_usb_probe
_ath10k_usb_probe:                      ## @ath10k_usb_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
	callq	_interface_to_usbdev
	movq	%rax, %r14
	movq	$0, -48(%rbp)
	movq	_ATH10K_HW_QCA9377@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	8(%r14), %r12
	movq	_ATH10K_BUS_USB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ath10k_usb_hif_ops@GOTPCREL(%rip), %r8
	movl	$8, %edi
	movq	%r12, %rsi
	callq	_ath10k_core_create
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_usb_get_dev
	movl	4(%r14), %edi
	callq	_le16_to_cpu
	movl	%eax, %r12d
	movl	(%r14), %edi
	callq	_le16_to_cpu
	movl	%eax, %r13d
	movq	_ATH10K_DBG_BOOT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	callq	_ath10k_dbg
	movq	%rbx, %rdi
	callq	_ath10k_usb_priv
	movq	%r15, %rsi
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_ath10k_usb_create
	movq	%rbx, (%r15)
	movl	%r13d, (%rbx)
	movl	%r12d, 4(%rbx)
	movl	%r13d, 8(%rbx)
	movq	_ATH10K_DEV_TYPE_HL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	$0, -56(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ath10k_core_register
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ath10k_warn
	movq	%rbx, %rdi
	callq	_ath10k_core_destroy
	movq	%r14, %rdi
	callq	_usb_put_dev
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.3(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_ath10k_warn
LBB0_5:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_HW_QCA9377,4,2          ## @ATH10K_HW_QCA9377
	.comm	_ATH10K_BUS_USB,4,2             ## @ATH10K_BUS_USB
	.comm	_ath10k_usb_hif_ops,4,2         ## @ath10k_usb_hif_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to allocate core\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ATH10K_DBG_BOOT,4,2            ## @ATH10K_DBG_BOOT
L_.str.1:                               ## @.str.1
	.asciz	"usb new func vendor 0x%04x product 0x%04x\n"

	.comm	_ATH10K_DEV_TYPE_HL,4,2         ## @ATH10K_DEV_TYPE_HL
L_.str.2:                               ## @.str.2
	.asciz	"failed to register driver core: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"Warning: ath10k USB support is incomplete, don't expect anything to work!\n"

	.no_dead_strip	_ath10k_usb_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_usb_probe
_ath10k_usb_probe:                      ; @ath10k_usb_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x0
	bl	_interface_to_usbdev
	mov	x19, x0
Lloh0:
	adrp	x8, _ATH10K_HW_QCA9377@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_HW_QCA9377@GOTPAGEOFF]
	str	xzr, [sp, #24]
Lloh2:
	ldr	w3, [x8]
	add	x22, x0, #8
Lloh3:
	adrp	x8, _ATH10K_BUS_USB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATH10K_BUS_USB@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x4, _ath10k_usb_hif_ops@GOTPAGE
Lloh7:
	ldr	x4, [x4, _ath10k_usb_hif_ops@GOTPAGEOFF]
	mov	w0, #8
	mov	x1, x22
	bl	_ath10k_core_create
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_usb_get_dev
	ldr	w0, [x19, #4]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	w0, [x19]
	bl	_le16_to_cpu
	mov	x23, x0
Lloh8:
	adrp	x8, _ATH10K_DBG_BOOT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATH10K_DBG_BOOT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x3, x22
	mov	x4, x23
	bl	_ath10k_dbg
	mov	x0, x20
	bl	_ath10k_usb_priv
	mov	x24, x0
	mov	x0, x20
	mov	x1, x21
	bl	_ath10k_usb_create
	str	x20, [x24]
	stp	w23, w22, [x20]
	str	w23, [x20, #8]
Lloh13:
	adrp	x8, _ATH10K_DEV_TYPE_HL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ATH10K_DEV_TYPE_HL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	xzr, [sp, #16]
	add	x1, sp, #16
	mov	x0, x20
	bl	_ath10k_core_register
	mov	x21, x0
	cbz	w0, LBB0_4
; %bb.2:
	str	x21, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
	mov	x0, x20
	bl	_ath10k_core_destroy
	mov	x0, x19
	bl	_usb_put_dev
	b	LBB0_5
LBB0_3:
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_dev_err
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_5
LBB0_4:
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_ath10k_warn
LBB0_5:
	mov	x0, x21
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_HW_QCA9377,4,2          ; @ATH10K_HW_QCA9377
	.comm	_ATH10K_BUS_USB,4,2             ; @ATH10K_BUS_USB
	.comm	_ath10k_usb_hif_ops,4,2         ; @ath10k_usb_hif_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to allocate core\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ATH10K_DBG_BOOT,4,2            ; @ATH10K_DBG_BOOT
l_.str.1:                               ; @.str.1
	.asciz	"usb new func vendor 0x%04x product 0x%04x\n"

	.comm	_ATH10K_DEV_TYPE_HL,4,2         ; @ATH10K_DEV_TYPE_HL
l_.str.2:                               ; @.str.2
	.asciz	"failed to register driver core: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"Warning: ath10k USB support is incomplete, don't expect anything to work!\n"

	.no_dead_strip	_ath10k_usb_probe
.subsections_via_symbols
