	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_loop_switch
_do_loop_switch:                        ## @do_loop_switch
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	8(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	(%rbx), %r15
	movq	(%rax), %rdi
	movl	(%r12), %esi
	callq	_mapping_set_gfp_mask
	movq	%rbx, 8(%r12)
	movq	(%r15), %rax
	movl	8(%rax), %edi
	callq	_S_ISBLK
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	(%r15), %rax
	movq	(%rax), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movq	%r15, %rdi
	callq	_mapping_gfp_mask
	movl	%eax, (%r12)
	movq	___GFP_IO@GOTPCREL(%rip), %rcx
	movq	___GFP_FS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	%r15, %rdi
	callq	_mapping_set_gfp_mask
LBB0_5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_complete                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	___GFP_IO,4,2                   ## @__GFP_IO
	.comm	___GFP_FS,4,2                   ## @__GFP_FS
	.no_dead_strip	_do_loop_switch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_loop_switch
_do_loop_switch:                        ; @do_loop_switch
	.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
	mov	x19, x1
	ldr	x22, [x1, #8]
	cbz	x22, LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x22]
	ldr	x0, [x8]
	ldr	w1, [x21]
	bl	_mapping_set_gfp_mask
	str	x22, [x21, #8]
	ldr	x8, [x20]
	ldr	w0, [x8, #8]
	bl	_S_ISBLK
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x20]
	ldr	x8, [x8]
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [x21, #4]
	mov	x0, x20
	bl	_mapping_gfp_mask
	str	w0, [x21]
Lloh2:
	adrp	x8, ___GFP_IO@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___GFP_IO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, ___GFP_FS@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___GFP_FS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w1, w0, w8
	mov	x0, x20
	bl	_mapping_set_gfp_mask
LBB0_5:
	mov	x0, x19
	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
	b	_complete
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	___GFP_IO,4,2                   ; @__GFP_IO
	.comm	___GFP_FS,4,2                   ; @__GFP_FS
	.no_dead_strip	_do_loop_switch
.subsections_via_symbols
