	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sector_mark_bad
_sector_mark_bad:                       ## @sector_mark_bad
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movl	%edi, %ecx
	andb	$7, %cl
	movl	$-129, %eax
	sarl	%cl, %eax
	movq	_sectors@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	leal	7(%rdi), %edx
	testl	%edi, %edi
	cmovnsl	%edi, %edx
	sarl	$3, %edx
	movslq	%edx, %rdx
	andl	%eax, (%rcx,%rdx,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sectors,8,3                    ## @sectors
	.no_dead_strip	_sector_mark_bad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sector_mark_bad
_sector_mark_bad:                       ; @sector_mark_bad
	.cfi_startproc
; %bb.0:
	and	w8, w0, #0x7
	mov	w9, #-129
	asr	w8, w9, w8
Lloh0:
	adrp	x9, _sectors@GOTPAGE
Lloh1:
	ldr	x9, [x9, _sectors@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x9, [x9]
	add	w10, w0, #7
	cmp	w0, #0
	csel	w10, w10, w0, lt
	asr	w10, w10, #3
	sbfiz	x10, x10, #2, #32
	ldr	w11, [x9, x10]
	and	w8, w11, w8
	str	w8, [x9, x10]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sectors,8,3                    ; @sectors
	.no_dead_strip	_sector_mark_bad
.subsections_via_symbols
