	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mic_dma_driver_probe
_mic_dma_driver_probe:                  ## @mic_dma_driver_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_MBUS_DEV_DMA_MIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	8(%rdi), %rax
	jne	LBB0_1
## %bb.2:
	movq	_MIC_DMA_CHAN_MIC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_MIC_DMA_CHAN_HOST@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mic_dma_dev_reg
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_dev_set_drvdata
	movq	_mic_dma_dbg@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_dev_name
	movq	(%r15), %rsi
	movl	%eax, %edi
	callq	_debugfs_create_dir
	movl	%eax, (%r14)
	leaq	L_.str(%rip), %rdi
	movq	_mic_dma_reg_fops@GOTPCREL(%rip), %r8
	movl	$292, %esi                      ## imm = 0x124
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_debugfs_create_file
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBUS_DEV_DMA_MIC,8,3           ## @MBUS_DEV_DMA_MIC
	.comm	_MIC_DMA_CHAN_MIC,4,2           ## @MIC_DMA_CHAN_MIC
	.comm	_MIC_DMA_CHAN_HOST,4,2          ## @MIC_DMA_CHAN_HOST
	.comm	_mic_dma_dbg,8,3                ## @mic_dma_dbg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mic_dma_reg"

	.comm	_mic_dma_reg_fops,4,2           ## @mic_dma_reg_fops
	.no_dead_strip	_mic_dma_driver_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mic_dma_driver_probe
_mic_dma_driver_probe:                  ; @mic_dma_driver_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _MBUS_DEV_DMA_MIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBUS_DEV_DMA_MIC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MIC_DMA_CHAN_MIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MIC_DMA_CHAN_MIC@GOTPAGEOFF]
	ldr	x10, [x0, #8]
Lloh5:
	adrp	x11, _MIC_DMA_CHAN_HOST@GOTPAGE
Lloh6:
	ldr	x11, [x11, _MIC_DMA_CHAN_HOST@GOTPAGEOFF]
	cmp	x8, x10
	csel	x8, x9, x11, eq
	ldr	w1, [x8]
	bl	_mic_dma_dev_reg
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_dev_set_drvdata
Lloh7:
	adrp	x21, _mic_dma_dbg@GOTPAGE
Lloh8:
	ldr	x21, [x21, _mic_dma_dbg@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_dev_name
	ldr	x1, [x21]
	bl	_debugfs_create_dir
	mov	x2, x0
	str	w0, [x19]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
Lloh11:
	adrp	x4, _mic_dma_reg_fops@GOTPAGE
Lloh12:
	ldr	x4, [x4, _mic_dma_reg_fops@GOTPAGEOFF]
	mov	w1, #292
	mov	x3, x19
	bl	_debugfs_create_file
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MBUS_DEV_DMA_MIC,8,3           ; @MBUS_DEV_DMA_MIC
	.comm	_MIC_DMA_CHAN_MIC,4,2           ; @MIC_DMA_CHAN_MIC
	.comm	_MIC_DMA_CHAN_HOST,4,2          ; @MIC_DMA_CHAN_HOST
	.comm	_mic_dma_dbg,8,3                ; @mic_dma_dbg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mic_dma_reg"

	.comm	_mic_dma_reg_fops,4,2           ; @mic_dma_reg_fops
	.no_dead_strip	_mic_dma_driver_probe
.subsections_via_symbols
