	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppl_sector_store
_ppl_sector_store:                      ## @ppl_sector_store
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	leaq	-24(%rbp), %rdx
	movq	%rsi, %rdi
	movl	$10, %esi
	callq	_kstrtoull
	testq	%rax, %rax
	js	LBB0_1
## %bb.3:
	movq	32(%r14), %rsi
	cmpq	$0, 32(%rsi)
	je	LBB0_7
## %bb.4:
	movq	_MD_HAS_PPL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	cmpq	$0, (%r14)
	jns	LBB0_6
LBB0_7:
	movq	32(%r14), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_14
## %bb.8:
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.9:
	movq	-24(%rbp), %rax
	movq	8(%r14), %rcx
	movq	%rax, %rdx
	subq	%rcx, %rdx
	jbe	LBB0_11
## %bb.10:
	movq	_S16_MAX@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	ja	LBB0_1
LBB0_11:
	movq	%rax, %rdx
	subq	%rcx, %rdx
	jae	LBB0_13
## %bb.12:
	subq	%rax, %rcx
	movq	_S16_MIN@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	subq	(%rsi), %rdi
	cmpq	%rdi, %rcx
	jbe	LBB0_13
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_14:
	cmpl	$0, 8(%rax)
	je	LBB0_6
## %bb.15:
	movq	-24(%rbp), %rax
	jmp	LBB0_16
LBB0_6:
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subq	(%rax), %rbx
	jmp	LBB0_17
LBB0_13:
	movq	%rdx, 16(%r14)
LBB0_16:
	movq	%rax, 24(%r14)
LBB0_17:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_MD_HAS_PPL,4,2                 ## @MD_HAS_PPL
	.comm	_EBUSY,8,3                      ## @EBUSY
	.comm	_S16_MAX,8,3                    ## @S16_MAX
	.comm	_S16_MIN,8,3                    ## @S16_MIN
	.no_dead_strip	_ppl_sector_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppl_sector_store
_ppl_sector_store:                      ; @ppl_sector_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	mov	x20, x0
	add	x2, sp, #8
	mov	x0, x1
	mov	w1, #10
	bl	_kstrtoull
	tbnz	x0, #63, LBB0_10
; %bb.1:
	ldr	x8, [x20, #32]
	ldr	x9, [x8, #32]
	cbz	x9, LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, _MD_HAS_PPL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MD_HAS_PPL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	add	x1, x8, #24
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x20]
	tbz	x8, #63, LBB0_13
LBB0_4:
	ldr	x8, [x20, #32]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_11
; %bb.5:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.6:
	ldr	x8, [sp, #8]
	ldr	x9, [x20, #8]
	subs	x10, x8, x9
	b.ls	LBB0_8
; %bb.7:
Lloh3:
	adrp	x11, _S16_MAX@GOTPAGE
Lloh4:
	ldr	x11, [x11, _S16_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x10, x11
	b.hi	LBB0_10
LBB0_8:
	subs	x10, x8, x9
	b.hs	LBB0_15
; %bb.9:
	sub	x9, x9, x8
Lloh6:
	adrp	x11, _S16_MIN@GOTPAGE
Lloh7:
	ldr	x11, [x11, _S16_MIN@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	neg	x11, x11
	cmp	x9, x11
	b.ls	LBB0_15
LBB0_10:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
	ldr	w8, [x8, #8]
	cbz	w8, LBB0_13
; %bb.12:
	ldr	x8, [sp, #8]
	b	LBB0_16
LBB0_13:
Lloh11:
	adrp	x8, _EBUSY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_14:
	ldr	x8, [x8]
	neg	x19, x8
	b	LBB0_17
LBB0_15:
	str	x10, [x20, #16]
LBB0_16:
	str	x8, [x20, #24]
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_MD_HAS_PPL,4,2                 ; @MD_HAS_PPL
	.comm	_EBUSY,8,3                      ; @EBUSY
	.comm	_S16_MAX,8,3                    ; @S16_MAX
	.comm	_S16_MIN,8,3                    ; @S16_MIN
	.no_dead_strip	_ppl_sector_store
.subsections_via_symbols
