	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blkio_check_and_dec_stat
_blkio_check_and_dec_stat:              ## @blkio_check_and_dec_stat
	.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
	movl	%edx, %r14d
	movq	%rdi, %r15
	testl	%esi, %esi
	jne	LBB0_1
## %bb.2:
	movq	_BLKIO_STAT_READ@GOTPCREL(%rip), %rbx
	jmp	LBB0_3
LBB0_1:
	movq	_BLKIO_STAT_WRITE@GOTPCREL(%rip), %rbx
LBB0_3:
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	$0, (%r15,%rax,8)
	sete	%dil
	callq	_BUG_ON
	movq	(%rbx), %rax
	decq	(%r15,%rax,8)
	testl	%r14d, %r14d
	jne	LBB0_4
## %bb.5:
	movq	_BLKIO_STAT_ASYNC@GOTPCREL(%rip), %rbx
	jmp	LBB0_6
LBB0_4:
	movq	_BLKIO_STAT_SYNC@GOTPCREL(%rip), %rbx
LBB0_6:
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	$0, (%r15,%rax,8)
	sete	%dil
	callq	_BUG_ON
	movq	(%rbx), %rax
	decq	(%r15,%rax,8)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLKIO_STAT_WRITE,8,3           ## @BLKIO_STAT_WRITE
	.comm	_BLKIO_STAT_READ,8,3            ## @BLKIO_STAT_READ
	.comm	_BLKIO_STAT_SYNC,8,3            ## @BLKIO_STAT_SYNC
	.comm	_BLKIO_STAT_ASYNC,8,3           ## @BLKIO_STAT_ASYNC
	.no_dead_strip	_blkio_check_and_dec_stat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blkio_check_and_dec_stat
_blkio_check_and_dec_stat:              ; @blkio_check_and_dec_stat
	.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, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _BLKIO_STAT_WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLKIO_STAT_WRITE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _BLKIO_STAT_READ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BLKIO_STAT_READ@GOTPAGEOFF]
	cmp	w1, #0
	csel	x21, x9, x8, eq
	ldr	x8, [x21]
	ldr	x8, [x0, x8, lsl #3]
	cmp	x8, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [x21]
	lsl	x8, x8, #3
	ldr	x9, [x20, x8]
	sub	x9, x9, #1
	str	x9, [x20, x8]
Lloh4:
	adrp	x8, _BLKIO_STAT_SYNC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BLKIO_STAT_SYNC@GOTPAGEOFF]
Lloh6:
	adrp	x9, _BLKIO_STAT_ASYNC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BLKIO_STAT_ASYNC@GOTPAGEOFF]
	cmp	w19, #0
	csel	x19, x9, x8, eq
	ldr	x8, [x19]
	ldr	x8, [x20, x8, lsl #3]
	cmp	x8, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [x19]
	lsl	x8, x8, #3
	ldr	x9, [x20, x8]
	sub	x9, x9, #1
	str	x9, [x20, x8]
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BLKIO_STAT_WRITE,8,3           ; @BLKIO_STAT_WRITE
	.comm	_BLKIO_STAT_READ,8,3            ; @BLKIO_STAT_READ
	.comm	_BLKIO_STAT_SYNC,8,3            ; @BLKIO_STAT_SYNC
	.comm	_BLKIO_STAT_ASYNC,8,3           ; @BLKIO_STAT_ASYNC
	.no_dead_strip	_blkio_check_and_dec_stat
.subsections_via_symbols
