	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usb_dmac_probe
_usb_dmac_probe:                        ## @usb_dmac_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	%rdi, %r14
	movq	_USB_DMAC_SLAVE_BUSWIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movl	$88, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, 80(%rax)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_usb_dmac_parse_of
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	(%r15), %esi
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 64(%r15)
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 72(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.20:
	movl	72(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_19
LBB0_3:
	movl	%eax, %ebx
	jmp	LBB0_19
LBB0_6:
	movq	%r14, %rdi
	callq	_pm_runtime_enable
	movq	%r14, %rdi
	callq	_pm_runtime_get_sync
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	%r15, %rdi
	callq	_usb_dmac_init
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_17
LBB0_7:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_18
LBB0_10:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	leaq	60(%r15), %rdi
	callq	_INIT_LIST_HEAD
	cmpl	$0, (%r15)
	je	LBB0_14
## %bb.11:
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	64(%r15), %rsi
	addq	%r13, %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_usb_dmac_chan_probe
	testl	%eax, %eax
	js	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%r12
	movl	(%r15), %eax
	addq	$4, %r13
	cmpq	%rax, %r12
	jb	LBB0_13
LBB0_14:
	movl	(%r14), %edi
	movq	_usb_dmac_of_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_of_dma_controller_register
	testl	%eax, %eax
	js	LBB0_16
## %bb.15:
	movq	%r15, %r12
	addq	$8, %r12
	movq	_DMA_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	56(%r15), %esi
	callq	_dma_cap_set
	movq	%r14, 48(%r15)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r15)
	movl	%eax, 12(%r15)
	movq	_DMA_MEM_TO_DEV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	movq	_DMA_DEV_TO_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%ebx, %eax
	movl	%eax, 16(%r15)
	movq	_DMA_RESIDUE_GRANULARITY_BURST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r15)
	movq	_usb_dmac_alloc_chan_resources@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movq	_usb_dmac_free_chan_resources@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r15)
	movq	_usb_dmac_prep_slave_sg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
	movq	_usb_dmac_chan_terminate_all@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r15)
	movq	_usb_dmac_tx_status@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	_usb_dmac_issue_pending@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movq	%r12, %rdi
	callq	_dma_async_device_register
	testl	%eax, %eax
	js	LBB0_16
## %bb.21:
	movq	%r14, %rdi
	callq	_pm_runtime_put
	xorl	%ebx, %ebx
	jmp	LBB0_19
LBB0_16:
	movl	%eax, %ebx
LBB0_17:
	movl	(%r14), %edi
	callq	_of_dma_controller_free
	movq	%r14, %rdi
	callq	_pm_runtime_put
LBB0_18:
	movq	%r14, %rdi
	callq	_pm_runtime_disable
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_DMAC_SLAVE_BUSWIDTH,4,2    ## @USB_DMAC_SLAVE_BUSWIDTH
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"runtime PM get sync failed (%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to reset device\n"

	.comm	_usb_dmac_of_xlate,4,2          ## @usb_dmac_of_xlate
	.comm	_DMA_SLAVE,4,2                  ## @DMA_SLAVE
	.comm	_DMA_MEM_TO_DEV,4,2             ## @DMA_MEM_TO_DEV
	.comm	_DMA_DEV_TO_MEM,4,2             ## @DMA_DEV_TO_MEM
	.comm	_DMA_RESIDUE_GRANULARITY_BURST,4,2 ## @DMA_RESIDUE_GRANULARITY_BURST
	.comm	_usb_dmac_alloc_chan_resources,4,2 ## @usb_dmac_alloc_chan_resources
	.comm	_usb_dmac_free_chan_resources,4,2 ## @usb_dmac_free_chan_resources
	.comm	_usb_dmac_prep_slave_sg,4,2     ## @usb_dmac_prep_slave_sg
	.comm	_usb_dmac_chan_terminate_all,4,2 ## @usb_dmac_chan_terminate_all
	.comm	_usb_dmac_tx_status,4,2         ## @usb_dmac_tx_status
	.comm	_usb_dmac_issue_pending,4,2     ## @usb_dmac_issue_pending
	.no_dead_strip	_usb_dmac_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usb_dmac_probe
_usb_dmac_probe:                        ; @usb_dmac_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	x19, x0
Lloh0:
	adrp	x8, _USB_DMAC_SLAVE_BUSWIDTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_DMAC_SLAVE_BUSWIDTH@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
Lloh3:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #88
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #80]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x19
	mov	x1, x20
	bl	_usb_dmac_parse_of
	tbnz	w0, #31, LBB0_6
; %bb.2:
	ldr	w1, [x20]
	ldr	w3, [x21]
	mov	x0, x19
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x20, #64]
	cbz	x0, LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	w0, [x20, #72]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.4:
	ldr	w0, [x20, #72]
	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
	b	_PTR_ERR
LBB0_5:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_21
LBB0_6:
	mov	x22, x0
	b	LBB0_21
LBB0_7:
	mov	x0, x19
	bl	_pm_runtime_enable
	mov	x0, x19
	bl	_pm_runtime_get_sync
	tbnz	w0, #31, LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_usb_dmac_init
	cbz	w0, LBB0_11
; %bb.9:
	mov	x22, x0
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_19
LBB0_10:
	mov	x22, x0
	str	x22, [sp]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_20
LBB0_11:
	add	x0, x20, #60
	bl	_INIT_LIST_HEAD
	mov	x21, x20
	ldr	w8, [x21], #8
	cbz	w8, LBB0_15
; %bb.12:
	mov	x25, #0
	mov	x23, #0
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #64]
	add	x1, x8, x25
	mov	x0, x20
	mov	x2, x23
	bl	_usb_dmac_chan_probe
	tbnz	w0, #31, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, #1
	ldr	w8, [x20]
	add	x25, x25, #4
	cmp	x23, x8
	b.lo	LBB0_13
LBB0_15:
	ldr	w0, [x19]
Lloh15:
	adrp	x8, _usb_dmac_of_xlate@GOTPAGE
Lloh16:
	ldr	x8, [x8, _usb_dmac_of_xlate@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_of_dma_controller_register
	tbnz	w0, #31, LBB0_18
; %bb.16:
Lloh18:
	adrp	x8, _DMA_SLAVE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DMA_SLAVE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	w1, [x20, #56]
	bl	_dma_cap_set
	str	x19, [x20, #48]
	stp	w24, w24, [x20, #8]
Lloh21:
	adrp	x8, _DMA_MEM_TO_DEV@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DMA_MEM_TO_DEV@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_BIT
	mov	x22, x0
Lloh24:
	adrp	x8, _DMA_DEV_TO_MEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DMA_DEV_TO_MEM@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_BIT
Lloh27:
	adrp	x8, _DMA_RESIDUE_GRANULARITY_BURST@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DMA_RESIDUE_GRANULARITY_BURST@GOTPAGEOFF]
	orr	w9, w0, w22
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x10, _usb_dmac_alloc_chan_resources@GOTPAGE
Lloh31:
	ldr	x10, [x10, _usb_dmac_alloc_chan_resources@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	stp	w10, w8, [x20, #40]
Lloh33:
	adrp	x8, _usb_dmac_free_chan_resources@GOTPAGE
Lloh34:
	ldr	x8, [x8, _usb_dmac_free_chan_resources@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x10, _usb_dmac_prep_slave_sg@GOTPAGE
Lloh37:
	ldr	x10, [x10, _usb_dmac_prep_slave_sg@GOTPAGEOFF]
Lloh38:
	ldr	w10, [x10]
Lloh39:
	adrp	x11, _usb_dmac_chan_terminate_all@GOTPAGE
Lloh40:
	ldr	x11, [x11, _usb_dmac_chan_terminate_all@GOTPAGEOFF]
	stp	w10, w8, [x20, #32]
Lloh41:
	ldr	w8, [x11]
Lloh42:
	adrp	x10, _usb_dmac_tx_status@GOTPAGE
Lloh43:
	ldr	x10, [x10, _usb_dmac_tx_status@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x10]
	stp	w10, w8, [x20, #24]
Lloh45:
	adrp	x8, _usb_dmac_issue_pending@GOTPAGE
Lloh46:
	ldr	x8, [x8, _usb_dmac_issue_pending@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	stp	w9, w8, [x20, #16]
	mov	x0, x21
	bl	_dma_async_device_register
	tbnz	w0, #31, LBB0_18
; %bb.17:
	mov	x0, x19
	bl	_pm_runtime_put
	mov	w22, #0
	b	LBB0_21
LBB0_18:
	mov	x22, x0
LBB0_19:
	ldr	w0, [x19]
	bl	_of_dma_controller_free
	mov	x0, x19
	bl	_pm_runtime_put
LBB0_20:
	mov	x0, x19
	bl	_pm_runtime_disable
LBB0_21:
	mov	x0, x22
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_DMAC_SLAVE_BUSWIDTH,4,2    ; @USB_DMAC_SLAVE_BUSWIDTH
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"runtime PM get sync failed (%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to reset device\n"

	.comm	_usb_dmac_of_xlate,4,2          ; @usb_dmac_of_xlate
	.comm	_DMA_SLAVE,4,2                  ; @DMA_SLAVE
	.comm	_DMA_MEM_TO_DEV,4,2             ; @DMA_MEM_TO_DEV
	.comm	_DMA_DEV_TO_MEM,4,2             ; @DMA_DEV_TO_MEM
	.comm	_DMA_RESIDUE_GRANULARITY_BURST,4,2 ; @DMA_RESIDUE_GRANULARITY_BURST
	.comm	_usb_dmac_alloc_chan_resources,4,2 ; @usb_dmac_alloc_chan_resources
	.comm	_usb_dmac_free_chan_resources,4,2 ; @usb_dmac_free_chan_resources
	.comm	_usb_dmac_prep_slave_sg,4,2     ; @usb_dmac_prep_slave_sg
	.comm	_usb_dmac_chan_terminate_all,4,2 ; @usb_dmac_chan_terminate_all
	.comm	_usb_dmac_tx_status,4,2         ; @usb_dmac_tx_status
	.comm	_usb_dmac_issue_pending,4,2     ; @usb_dmac_issue_pending
	.no_dead_strip	_usb_dmac_probe
.subsections_via_symbols
