	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_writeback_formats
_get_writeback_formats:                 ## @get_writeback_formats
	.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	%rsi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %r15
	movl	(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %esi
	callq	_kcalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movl	(%r15), %edi
	testl	%edi, %edi
	jle	LBB0_2
## %bb.3:
	movq	8(%r15), %rcx
	xorl	%edx, %edx
	movq	_SE_MEMWRITE@GOTPCREL(%rip), %r8
	xorl	%esi, %esi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdx
	movslq	%edi, %rbx
	cmpq	%rbx, %rdx
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r8), %ebx
	testl	%ebx, (%rcx,%rdx,8)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%rcx,%rdx,8), %edi
	movslq	%esi, %rbx
	incl	%esi
	movl	%edi, (%rax,%rbx,4)
	movl	(%r15), %edi
	jmp	LBB0_6
LBB0_2:
	xorl	%esi, %esi
LBB0_7:
	movl	%esi, (%r14)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_SE_MEMWRITE,4,2                ## @SE_MEMWRITE
	.no_dead_strip	_get_writeback_formats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_writeback_formats
_get_writeback_formats:                 ; @get_writeback_formats
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x8, [x0]
	ldr	x20, [x8]
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #4
	bl	_kcalloc
	cbz	x0, LBB0_8
; %bb.1:
	ldr	w10, [x20]
	cmp	w10, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x9, #0
	mov	w8, #0
	ldr	x11, [x20, #8]
	add	x11, x11, #4
Lloh3:
	adrp	x12, _SE_MEMWRITE@GOTPAGE
Lloh4:
	ldr	x12, [x12, _SE_MEMWRITE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	add	x11, x11, #8
	cmp	x9, w10, sxtw
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w13, [x11, #-4]
	ldr	w14, [x12]
	tst	w14, w13
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x11]
	str	w10, [x0, w8, sxtw #2]
	add	w8, w8, #1
	ldr	w10, [x20]
	b	LBB0_3
LBB0_6:
	mov	w8, #0
LBB0_7:
	str	w8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_SE_MEMWRITE,4,2                ; @SE_MEMWRITE
	.no_dead_strip	_get_writeback_formats
.subsections_via_symbols
