	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srpt_tpg_enable_store
_srpt_tpg_enable_store:                 ## @srpt_tpg_enable_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	callq	_to_tpg
	movq	%rax, %rdi
	callq	_srpt_tpg_to_sport
	movq	%rax, %r14
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_kstrtoul
	testl	%eax, %eax
	js	LBB0_1
## %bb.3:
	movq	-32(%rbp), %rsi
	cmpq	$2, %rsi
	jae	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_srpt_set_enabled
	movq	%r14, %rdi
	callq	_mutex_unlock
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_pr_err
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subq	(%rax), %r15
LBB0_6:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to extract srpt_tpg_store_enable\n"

	.comm	_EINVAL,8,3                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Illegal value for srpt_tpg_store_enable: %lu\n"

	.no_dead_strip	_srpt_tpg_enable_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srpt_tpg_enable_store
_srpt_tpg_enable_store:                 ; @srpt_tpg_enable_store
	.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
	bl	_to_tpg
	bl	_srpt_tpg_to_sport
	mov	x20, x0
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #0
	bl	_kstrtoul
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	x8, [sp, #8]
	cmp	x8, #2
	b.hs	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_mutex_lock
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_srpt_set_enabled
	mov	x0, x20
	bl	_mutex_unlock
	b	LBB0_6
LBB0_3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_5:
	bl	_pr_err
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_6:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to extract srpt_tpg_store_enable\n"

	.comm	_EINVAL,8,3                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Illegal value for srpt_tpg_store_enable: %lu\n"

	.no_dead_strip	_srpt_tpg_enable_store
.subsections_via_symbols
