	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ide_toggle_bounce              ## -- Begin function ide_toggle_bounce
	.p2align	4, 0x90
_ide_toggle_bounce:                     ## @ide_toggle_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	_PCI_DMA_BUS_IS_PHYS@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_1
## %bb.2:
	movl	%esi, %eax
	movq	_BLK_BOUNCE_HIGH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movq	(%rdi), %rax
	movq	_ide_disk@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_7
LBB0_1:
	movq	_BLK_BOUNCE_ANY@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
LBB0_7:
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.9:
	popq	%rbp
	jmp	_blk_queue_bounce_limit         ## TAILCALL
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_BOUNCE_HIGH,4,2            ## @BLK_BOUNCE_HIGH
	.comm	_PCI_DMA_BUS_IS_PHYS,4,2        ## @PCI_DMA_BUS_IS_PHYS
	.comm	_BLK_BOUNCE_ANY,4,2             ## @BLK_BOUNCE_ANY
	.comm	_ide_disk,8,3                   ## @ide_disk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ide_toggle_bounce              ; -- Begin function ide_toggle_bounce
	.p2align	2
_ide_toggle_bounce:                     ; @ide_toggle_bounce
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _PCI_DMA_BUS_IS_PHYS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCI_DMA_BUS_IS_PHYS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cbz	w9, LBB0_5
; %bb.1:
	mov	x8, x1
Lloh3:
	adrp	x9, _BLK_BOUNCE_HIGH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BLK_BOUNCE_HIGH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	cbz	w8, LBB0_7
; %bb.2:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _ide_disk@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ide_disk@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x8, [x8]
	cbnz	x8, LBB0_6
	b	LBB0_7
LBB0_5:
Lloh9:
	adrp	x8, _BLK_BOUNCE_ANY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BLK_BOUNCE_ANY@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
LBB0_7:
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_9
; %bb.8:
	b	_blk_queue_bounce_limit
LBB0_9:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_BOUNCE_HIGH,4,2            ; @BLK_BOUNCE_HIGH
	.comm	_PCI_DMA_BUS_IS_PHYS,4,2        ; @PCI_DMA_BUS_IS_PHYS
	.comm	_BLK_BOUNCE_ANY,4,2             ; @BLK_BOUNCE_ANY
	.comm	_ide_disk,8,3                   ; @ide_disk
.subsections_via_symbols
