	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pblk_sysfs_set_padding_dist
_pblk_sysfs_set_padding_dist:           ## @pblk_sysfs_set_padding_dist
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rdi), %r12d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcspn
	cmpq	%r15, %rax
	jae	LBB0_1
## %bb.2:
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_kstrtouint
	testq	%rax, %rax
	jne	LBB0_1
## %bb.3:
	cmpl	$0, -36(%rbp)
	je	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subq	(%rax), %r15
LBB0_8:
	movq	%r15, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	cmpl	$2, %r12d
	jl	LBB0_7
## %bb.5:
	decl	%r12d
	movl	%r12d, %r12d
	shlq	$2, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rdi
	addq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_atomic64_set
	addq	$4, %rbx
	cmpq	%rbx, %r12
	jne	LBB0_6
LBB0_7:
	leaq	4(%r14), %rdi
	callq	_atomic64_read
	movl	%eax, 8(%r14)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_EINVAL,8,3                     ## @EINVAL
	.no_dead_strip	_pblk_sysfs_set_padding_dist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pblk_sysfs_set_padding_dist
_pblk_sysfs_set_padding_dist:           ; @pblk_sysfs_set_padding_dist
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x20, x0
	ldr	w22, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcspn
	cmp	x0, x19
	b.hs	LBB0_3
; %bb.1:
	add	x2, sp, #12
	mov	x0, x21
	mov	w1, #0
	bl	_kstrtouint
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	cmp	w22, #2
	b.lt	LBB0_8
; %bb.6:
	mov	x21, #0
	sub	w8, w22, #1
	lsl	x22, x8, #2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	add	x0, x8, x21
	mov	w1, #0
	bl	_atomic64_set
	add	x21, x21, #4
	cmp	x22, x21
	b.ne	LBB0_7
LBB0_8:
	add	x0, x20, #4
	bl	_atomic64_read
	str	w0, [x20, #8]
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_EINVAL,8,3                     ; @EINVAL
	.no_dead_strip	_pblk_sysfs_set_padding_dist
.subsections_via_symbols
