	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _bus_dma_can_bounce
__bus_dma_can_bounce:                   ## @_bus_dma_can_bounce
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_BUS_SPACE_MAXADDR@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jle	LBB0_7
## %bb.1:
	movq	_phys_avail@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	(%r9), %r8
	testq	%r8, %r8
	je	LBB0_7
## %bb.2:
	addq	$16, %r9
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%r9), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rdi, %r8
	setle	%r10b
	setg	%dl
	cmpq	%rdi, %rax
	setge	%r11b
	cmpq	%rsi, %r8
	setl	%cl
	movl	$1, %eax
	testb	%r11b, %r10b
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	andb	%cl, %dl
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r9), %r8
	addq	$16, %r9
	testq	%r8, %r8
	jne	LBB0_3
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUS_SPACE_MAXADDR,8,3          ## @BUS_SPACE_MAXADDR
	.comm	_phys_avail,8,3                 ## @phys_avail
	.no_dead_strip	__bus_dma_can_bounce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _bus_dma_can_bounce
__bus_dma_can_bounce:                   ; @_bus_dma_can_bounce
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _BUS_SPACE_MAXADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUS_SPACE_MAXADDR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.le	LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, _phys_avail@GOTPAGE
Lloh4:
	ldr	x8, [x8, _phys_avail@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x8]
	cbz	x9, LBB0_6
; %bb.2:
	add	x8, x8, #16
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x10, [x8, #-8]
	cbz	x10, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x9, x0
	ccmp	x9, x1, #0, gt
	cset	w11, lt
	cmp	x10, x0
	ccmp	x9, x0, #0, ge
	ccmp	w11, #0, #0, gt
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x8], #16
	cbnz	x9, LBB0_3
LBB0_6:
	mov	w0, #0
	ret
LBB0_7:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BUS_SPACE_MAXADDR,8,3          ; @BUS_SPACE_MAXADDR
	.comm	_phys_avail,8,3                 ; @phys_avail
	.no_dead_strip	__bus_dma_can_bounce
.subsections_via_symbols
