	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ide_check_nien_quirk_list      ## -- Begin function ide_check_nien_quirk_list
	.p2align	4, 0x90
_ide_check_nien_quirk_list:             ## @ide_check_nien_quirk_list
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_nien_quirk_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %r14
	movq	_ATA_ID_PROD@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	shlq	$2, %r15
	addq	8(%rdi), %r15
	addq	$8, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rsi
	addq	$8, %rbx
	testq	%rsi, %rsi
	jne	LBB0_3
	jmp	LBB0_5
LBB0_4:
	movq	_IDE_DFLAG_NIEN_QUIRK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_ID_PROD,8,3                ## @ATA_ID_PROD
	.comm	_nien_quirk_list,8,3            ## @nien_quirk_list
	.comm	_IDE_DFLAG_NIEN_QUIRK,4,2       ## @IDE_DFLAG_NIEN_QUIRK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ide_check_nien_quirk_list      ; -- Begin function ide_check_nien_quirk_list
	.p2align	2
_ide_check_nien_quirk_list:             ; @ide_check_nien_quirk_list
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _nien_quirk_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nien_quirk_list@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x1, [x8]
	cbz	x1, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0, #8]
Lloh3:
	adrp	x10, _ATA_ID_PROD@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ATA_ID_PROD@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x20, x9, x10, lsl #2
	add	x21, x8, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_strstr
	cbnz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x21], #8
	cbnz	x1, LBB0_2
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _IDE_DFLAG_NIEN_QUIRK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IDE_DFLAG_NIEN_QUIRK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_ID_PROD,8,3                ; @ATA_ID_PROD
	.comm	_nien_quirk_list,8,3            ; @nien_quirk_list
	.comm	_IDE_DFLAG_NIEN_QUIRK,4,2       ; @IDE_DFLAG_NIEN_QUIRK
.subsections_via_symbols
