	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cosa_dma_able
_cosa_dma_able:                         ## @cosa_dma_able
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%edx, %rcx
	addq	%rsi, %rcx
	movq	_MAX_DMA_ADDRESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jae	LBB0_4
## %bb.1:
	xorl	%esi, %ecx
	movl	$1, %eax
	testl	$65536, %ecx                    ## imm = 0x10000
	je	LBB0_5
## %bb.2:
	movl	_cosa_dma_able.count(%rip), %eax
	leal	1(%rax), %ecx
	movl	%ecx, _cosa_dma_able.count(%rip)
	cmpl	$4, %eax
	jg	LBB0_4
## %bb.3:
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_cosa_dma_able.count,4,2 ## @cosa_dma_able.count
	.comm	_MAX_DMA_ADDRESS,8,3            ## @MAX_DMA_ADDRESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: packet spanning a 64k boundary\n"

	.no_dead_strip	_cosa_dma_able
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cosa_dma_able
_cosa_dma_able:                         ; @cosa_dma_able
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	add	x8, x1, w2, sxtw
Lloh0:
	adrp	x9, _MAX_DMA_ADDRESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_DMA_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_5
; %bb.1:
	eor	w8, w8, w1
	tbnz	w8, #16, LBB0_3
; %bb.2:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	adrp	x8, _cosa_dma_able.count@PAGE
	ldr	w9, [x8, _cosa_dma_able.count@PAGEOFF]
	add	w10, w9, #1
	str	w10, [x8, _cosa_dma_able.count@PAGEOFF]
	cmp	w9, #4
	b.gt	LBB0_5
; %bb.4:
	ldr	w1, [x0]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_cosa_dma_able.count,4,2 ; @cosa_dma_able.count
	.comm	_MAX_DMA_ADDRESS,8,3            ; @MAX_DMA_ADDRESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: packet spanning a 64k boundary\n"

	.no_dead_strip	_cosa_dma_able
.subsections_via_symbols
