	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usb_dmac_chan_probe
_usb_dmac_chan_probe:                   ## @usb_dmac_chan_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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_to_platform_device
	movq	%rax, %r12
	movl	%r14d, (%r15)
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rbx
	movl	%r14d, %edi
	callq	_USB_DMAC_CHAN_OFFSET
	addq	%rbx, %rax
	movq	%rax, 24(%r15)
	leaq	L_.str(%rip), %rsi
	leaq	-53(%rbp), %r13
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_sprintf
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_platform_get_irq_byname
	movl	%eax, 16(%r15)
	testl	%eax, %eax
	js	LBB0_1
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %r12d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r12d, %edi
	callq	_dev_name
	leaq	L_.str.1(%rip), %rdx
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%eax, %ecx
	movl	%r14d, %r8d
	callq	_devm_kasprintf
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %edi
	movl	16(%r15), %esi
	movq	_usb_dmac_isr_channel@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rax, %r8
	movq	%r15, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	movl	16(%r15), %edx
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %ecx
	callq	_dev_err
	jmp	LBB0_8
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_7:
	movq	_usb_dmac_virt_desc_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	12(%r15), %rdi
	movl	%eax, 12(%r15)
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_vchan_init
	leaq	8(%r15), %rdi
	callq	_INIT_LIST_HEAD
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_INIT_LIST_HEAD
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ch%u"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"%s:%u"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_usb_dmac_isr_channel,4,2       ## @usb_dmac_isr_channel
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.2:                               ## @.str.2
	.asciz	"failed to request IRQ %u (%d)\n"

	.comm	_usb_dmac_virt_desc_free,4,2    ## @usb_dmac_virt_desc_free
	.no_dead_strip	_usb_dmac_chan_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_chan_probe
_usb_dmac_chan_probe:                   ; @usb_dmac_chan_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_to_platform_device
	mov	x22, x0
	str	w21, [x19]
	ldr	x23, [x20, #8]
	mov	x0, x21
	bl	_USB_DMAC_CHAN_OFFSET
	add	x8, x0, x23
	str	x8, [x19, #24]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #11
	mov	x2, x21
	bl	_sprintf
	add	x1, sp, #11
	mov	x0, x22
	bl	_platform_get_irq_byname
	str	w0, [x19, #16]
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	w22, [x20, #4]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w23, [x8]
	mov	x0, x22
	bl	_dev_name
	mov	x3, x0
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	mov	x4, x21
	bl	_devm_kasprintf
	cbz	x0, LBB0_5
; %bb.2:
	mov	x4, x0
	ldr	w0, [x20, #4]
	ldr	w1, [x19, #16]
Lloh7:
	adrp	x8, _usb_dmac_isr_channel@GOTPAGE
Lloh8:
	ldr	x8, [x8, _usb_dmac_isr_channel@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x5, x19
	bl	_devm_request_irq
	mov	x21, x0
	cbz	w0, LBB0_7
; %bb.3:
	ldr	w0, [x20, #4]
	ldr	w2, [x19, #16]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x3, x21
	bl	_dev_err
	b	LBB0_8
LBB0_4:
Lloh15:
	adrp	x8, _ENODEV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_8
LBB0_7:
Lloh19:
	adrp	x8, _usb_dmac_virt_desc_free@GOTPAGE
Lloh20:
	ldr	x8, [x8, _usb_dmac_virt_desc_free@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x19, #12]!
	mov	x0, x19
	mov	x1, x20
	bl	_vchan_init
	sub	x0, x19, #4
	bl	_INIT_LIST_HEAD
	sub	x0, x19, #8
	bl	_INIT_LIST_HEAD
LBB0_8:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ch%u"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"%s:%u"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_usb_dmac_isr_channel,4,2       ; @usb_dmac_isr_channel
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.2:                               ; @.str.2
	.asciz	"failed to request IRQ %u (%d)\n"

	.comm	_usb_dmac_virt_desc_free,4,2    ; @usb_dmac_virt_desc_free
	.no_dead_strip	_usb_dmac_chan_probe
.subsections_via_symbols
