	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _dma_isaddrext
__dma_isaddrext:                        ## @_dma_isaddrext
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	_control@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_DMA64TXREGOFFS
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	__dma64_addrext
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_8
## %bb.2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_7
LBB0_3:
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.5:
	movq	_control@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_DMA64RXREGOFFS
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	__dma64_addrext
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_8
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
LBB0_7:
	movl	16(%rbx), %edx
	movl	20(%rbx), %edi
	callq	_brcms_dbg_dma
	movl	$1, %eax
	jmp	LBB0_8
LBB0_4:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_control,4,2                    ## @control
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: DMA64 tx doesn't have AE set\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: DMA64 rx doesn't have AE set\n"

	.no_dead_strip	__dma_isaddrext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _dma_isaddrext
__dma_isaddrext:                        ; @_dma_isaddrext
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _control@GOTPAGE
Lloh1:
	ldr	x8, [x8, _control@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_DMA64TXREGOFFS
	mov	x1, x0
	mov	x0, x19
	bl	__dma64_addrext
	cbnz	w0, LBB0_7
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_9
; %bb.4:
Lloh5:
	adrp	x8, _control@GOTPAGE
Lloh6:
	ldr	x8, [x8, _control@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_DMA64RXREGOFFS
	mov	x1, x0
	mov	x0, x19
	bl	__dma64_addrext
	cbnz	w0, LBB0_7
; %bb.5:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	ldp	w2, w0, [x19, #16]
	bl	_brcms_dbg_dma
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w0, #0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_control,4,2                    ; @control
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: DMA64 tx doesn't have AE set\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: DMA64 rx doesn't have AE set\n"

	.no_dead_strip	__dma_isaddrext
.subsections_via_symbols
