	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carl9170_usb_probe
_carl9170_usb_probe:                    ## @carl9170_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_interface_to_usbdev
	movq	%rax, %rdi
	callq	_usb_reset_device
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_1
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$96, %edi
	callq	_carl9170_alloc
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.12:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_2:
	movq	%r15, %rdi
	callq	_interface_to_usbdev
	movq	%rax, 8(%r14)
	movq	%r15, 88(%r14)
	movl	(%r12), %eax
	movl	%eax, 84(%r14)
	movq	8(%r15), %rax
	cmpl	$0, 8(%rax)
	jle	LBB0_9
## %bb.3:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	movq	8(%r15), %rax
	movslq	8(%rax), %rcx
	addq	$4, %r12
	cmpq	%rcx, %r13
	jge	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rbx
	addq	%r12, %rbx
	movq	%rbx, %rdi
	callq	_usb_endpoint_num
	movq	_AR9170_USB_EP_CMD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_usb_endpoint_dir_out
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_usb_endpoint_type
	movq	_USB_ENDPOINT_XFER_BULK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, (%r14)
	jmp	LBB0_8
LBB0_9:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_usb_set_intfdata
	movl	80(%r14), %edi
	movq	%r15, %rsi
	callq	_SET_IEEE80211_DEV
	leaq	76(%r14), %rdi
	callq	_init_usb_anchor
	leaq	72(%r14), %rdi
	callq	_init_usb_anchor
	leaq	68(%r14), %rdi
	callq	_init_usb_anchor
	leaq	64(%r14), %rdi
	callq	_init_usb_anchor
	leaq	60(%r14), %rdi
	callq	_init_usb_anchor
	leaq	56(%r14), %rdi
	callq	_init_usb_anchor
	leaq	52(%r14), %rdi
	callq	_init_usb_anchor
	leaq	48(%r14), %rdi
	callq	_init_completion
	leaq	44(%r14), %rdi
	callq	_init_completion
	leaq	40(%r14), %rdi
	callq	_init_completion
	leaq	36(%r14), %rdi
	movq	_carl9170_usb_tasklet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_tasklet_init
	leaq	32(%r14), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	28(%r14), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	24(%r14), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	20(%r14), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	%r14, %rdi
	addq	$16, %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	%r15, %rdi
	callq	_usb_get_intf
	movq	_CARL9170_STOPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_carl9170_set_state
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CARL9170FW_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	8(%r14), %rcx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_carl9170_usb_firmware_step2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movl	$1, %esi
	movq	%r14, %r9
	callq	_request_firmware_nowait
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_usb_put_intf
	movq	%r14, %rdi
	callq	_carl9170_free
	movl	%r12d, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_AR9170_USB_EP_CMD,8,3          ## @AR9170_USB_EP_CMD
	.comm	_USB_ENDPOINT_XFER_BULK,8,3     ## @USB_ENDPOINT_XFER_BULK
	.comm	_carl9170_usb_tasklet,4,2       ## @carl9170_usb_tasklet
	.comm	_CARL9170_STOPPED,4,2           ## @CARL9170_STOPPED
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_CARL9170FW_NAME,4,2            ## @CARL9170FW_NAME
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_carl9170_usb_firmware_step2,4,2 ## @carl9170_usb_firmware_step2
	.no_dead_strip	_carl9170_usb_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carl9170_usb_probe
_carl9170_usb_probe:                    ; @carl9170_usb_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x19, x0
	bl	_interface_to_usbdev
	bl	_usb_reset_device
	mov	x22, x0
	cbz	w0, LBB0_2
LBB0_1:
	mov	x0, x22
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #96
	bl	_carl9170_alloc
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_4:
	mov	x0, x19
	bl	_interface_to_usbdev
	str	x0, [x20, #8]
	str	x19, [x20, #88]
	ldr	w8, [x21]
	str	w8, [x20, #84]
	ldr	x8, [x19, #8]
	ldr	w9, [x8, #8]
	cmp	w9, #1
	b.lt	LBB0_11
; %bb.5:
	mov	x22, #0
	mov	x23, #0
Lloh0:
	adrp	x24, _AR9170_USB_EP_CMD@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AR9170_USB_EP_CMD@GOTPAGEOFF]
Lloh2:
	adrp	x25, _USB_ENDPOINT_XFER_BULK@GOTPAGE
Lloh3:
	ldr	x25, [x25, _USB_ENDPOINT_XFER_BULK@GOTPAGEOFF]
	mov	w26, #1
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x23, x23, #1
	ldr	x8, [x19, #8]
	ldrsw	x9, [x8, #8]
	add	x22, x22, #4
	cmp	x23, x9
	b.ge	LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8]
	add	x21, x8, x22
	mov	x0, x21
	bl	_usb_endpoint_num
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_usb_endpoint_dir_out
	cbz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_usb_endpoint_type
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	str	w26, [x20]
	b	LBB0_6
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	bl	_usb_set_intfdata
	ldr	w0, [x20, #80]
	mov	x1, x19
	bl	_SET_IEEE80211_DEV
	add	x0, x20, #76
	bl	_init_usb_anchor
	add	x0, x20, #72
	bl	_init_usb_anchor
	add	x0, x20, #68
	bl	_init_usb_anchor
	add	x0, x20, #64
	bl	_init_usb_anchor
	add	x0, x20, #60
	bl	_init_usb_anchor
	add	x0, x20, #56
	bl	_init_usb_anchor
	add	x0, x20, #52
	bl	_init_usb_anchor
	add	x0, x20, #48
	bl	_init_completion
	add	x0, x20, #44
	bl	_init_completion
	add	x0, x20, #40
	bl	_init_completion
	add	x0, x20, #36
Lloh4:
	adrp	x8, _carl9170_usb_tasklet@GOTPAGE
Lloh5:
	ldr	x8, [x8, _carl9170_usb_tasklet@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_tasklet_init
	add	x0, x20, #32
	mov	w1, #0
	bl	_atomic_set
	add	x0, x20, #28
	mov	w1, #0
	bl	_atomic_set
	add	x0, x20, #24
	mov	w1, #0
	bl	_atomic_set
	add	x0, x20, #20
	mov	w1, #0
	bl	_atomic_set
	add	x0, x20, #16
	mov	w1, #0
	bl	_atomic_set
	mov	x0, x19
	bl	_usb_get_intf
Lloh7:
	adrp	x8, _CARL9170_STOPPED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CARL9170_STOPPED@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_carl9170_set_state
Lloh10:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _CARL9170FW_NAME@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CARL9170FW_NAME@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	ldr	x3, [x20, #8]
Lloh16:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x8]
Lloh19:
	adrp	x8, _carl9170_usb_firmware_step2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _carl9170_usb_firmware_step2@GOTPAGEOFF]
Lloh21:
	ldr	w6, [x8]
	mov	w1, #1
	mov	x5, x20
	bl	_request_firmware_nowait
	mov	x22, x0
	cbz	w0, LBB0_1
; %bb.12:
	mov	x0, x19
	bl	_usb_put_intf
	mov	x0, x20
	bl	_carl9170_free
	b	LBB0_1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_AR9170_USB_EP_CMD,8,3          ; @AR9170_USB_EP_CMD
	.comm	_USB_ENDPOINT_XFER_BULK,8,3     ; @USB_ENDPOINT_XFER_BULK
	.comm	_carl9170_usb_tasklet,4,2       ; @carl9170_usb_tasklet
	.comm	_CARL9170_STOPPED,4,2           ; @CARL9170_STOPPED
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_CARL9170FW_NAME,4,2            ; @CARL9170FW_NAME
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_carl9170_usb_firmware_step2,4,2 ; @carl9170_usb_firmware_step2
	.no_dead_strip	_carl9170_usb_probe
.subsections_via_symbols
