	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdc_check_atapi_dma
_pdc_check_atapi_dma:                   ## @pdc_check_atapi_dma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movl	(%rcx), %edx
	movl	$1, %eax
	addl	$-128, %edx
	cmpl	$62, %edx
	ja	LBB0_5
## %bb.1:
	movabsq	$4611721202799476795, %rsi      ## imm = 0x400020000000003B
	btq	%rdx, %rsi
	jae	LBB0_2
## %bb.4:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbp
	retq
LBB0_2:
	cmpq	$2, %rdx
	jne	LBB0_5
## %bb.3:
	movl	8(%rcx), %eax
	movl	12(%rcx), %edx
	shll	$24, %eax
	shll	$16, %edx
	orl	%eax, %edx
	movl	16(%rcx), %esi
	shll	$8, %esi
	orl	%edx, %esi
	orl	20(%rcx), %esi
	xorl	%eax, %eax
	cmpl	$-45150, %esi                   ## imm = 0xFFFF4FA2
	setae	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pdc_check_atapi_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdc_check_atapi_dma
_pdc_check_atapi_dma:                   ; @pdc_check_atapi_dma
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w9, [x8]
	mov	w0, #1
	sub	w9, w9, #128
	cmp	w9, #62
	b.hi	LBB0_3
; %bb.1:
	mov	w10, #1
	lsl	x10, x10, x9
	mov	x11, #59
	movk	x11, #8192, lsl #32
	movk	x11, #16384, lsl #48
	tst	x10, x11
	b.eq	LBB0_4
; %bb.2:
	mov	w0, #0
LBB0_3:
	ret
LBB0_4:
	cmp	x9, #2
	b.ne	LBB0_3
; %bb.5:
	ldp	w9, w10, [x8, #8]
	lsl	w10, w10, #16
	orr	w9, w10, w9, lsl #24
	ldp	w10, w8, [x8, #16]
	orr	w9, w9, w10, lsl #8
	orr	w8, w9, w8
	mov	w9, #-45151
	cmp	w8, w9
	cset	w0, hi
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pdc_check_atapi_dma
.subsections_via_symbols
