	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipu_dmfc_get                   ## -- Begin function ipu_dmfc_get
	.p2align	4, 0x90
_ipu_dmfc_get:                          ## @ipu_dmfc_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DMFC_NUM_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.1:
	movq	(%rdi), %rdx
	movq	_dmfcdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%rdi,%rax)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rax
	cmpq	%rax, %rcx
	jne	LBB0_2
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_5:
	addq	(%rdx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMFC_NUM_CHANNELS,4,2          ## @DMFC_NUM_CHANNELS
	.comm	_dmfcdata,8,3                   ## @dmfcdata
	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipu_dmfc_get                   ; -- Begin function ipu_dmfc_get
	.p2align	2
_ipu_dmfc_get:                          ; @ipu_dmfc_get
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DMFC_NUM_CHANNELS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMFC_NUM_CHANNELS@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x8]
	cmp	w11, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x8, #0
	ldr	x9, [x0]
Lloh3:
	adrp	x10, _dmfcdata@GOTPAGE
Lloh4:
	ldr	x10, [x10, _dmfcdata@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	lsl	x11, x11, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10, x8]
	cmp	w12, w1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #4
	cmp	x11, x8
	b.ne	LBB0_2
LBB0_4:
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	_ERR_PTR
LBB0_5:
	ldr	x9, [x9]
	add	x0, x9, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DMFC_NUM_CHANNELS,4,2          ; @DMFC_NUM_CHANNELS
	.comm	_dmfcdata,8,3                   ; @dmfcdata
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
