	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srpt_tpg_attrib_use_srq_store
_srpt_tpg_attrib_use_srq_store:         ## @srpt_tpg_attrib_use_srq_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_attrib_to_tpg
	movq	%rax, %rdi
	callq	_srpt_tpg_to_sport
	movq	%rax, %r12
	movq	16(%rax), %r15
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_kstrtoul
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movq	-48(%rbp), %rax
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	cmpq	%rcx, %rax
	jne	LBB0_6
## %bb.2:
	movq	%r15, %rdi
	callq	_mutex_lock_interruptible
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	leaq	4(%r12), %r13
	movq	%r13, %rdi
	callq	_mutex_lock_interruptible
	testl	%eax, %eax
	js	LBB0_8
## %bb.4:
	movl	(%r12), %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_srpt_set_enabled
	movq	-48(%rbp), %rsi
	movq	%rsi, 8(%r12)
	movq	%r15, %rdi
	callq	_srpt_use_srq
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_srpt_set_enabled
	movq	%r13, %rdi
	callq	_mutex_unlock
	movl	%r14d, %ebx
	jmp	LBB0_9
LBB0_5:
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_8:
	movl	%eax, %ebx
LBB0_9:
	movq	%r15, %rdi
	callq	_mutex_unlock
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_srpt_tpg_attrib_use_srq_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_attrib_use_srq_store
_srpt_tpg_attrib_use_srq_store:         ; @srpt_tpg_attrib_use_srq_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x22, x1
	bl	_attrib_to_tpg
	bl	_srpt_tpg_to_sport
	mov	x21, x0
	ldr	x20, [x0, #16]
	add	x2, sp, #8
	mov	x0, x22
	mov	w1, #0
	bl	_kstrtoul
	tbnz	w0, #31, LBB0_5
; %bb.1:
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cset	w9, ne
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_mutex_lock_interruptible
	tbnz	w0, #31, LBB0_5
; %bb.3:
	add	x23, x21, #4
	mov	x0, x23
	bl	_mutex_lock_interruptible
	tbnz	w0, #31, LBB0_7
; %bb.4:
	ldr	w22, [x21]
	mov	x0, x21
	mov	w1, #0
	bl	_srpt_set_enabled
	ldr	x1, [sp, #8]
	str	x1, [x21, #8]
	mov	x0, x20
	bl	_srpt_use_srq
	mov	x0, x21
	mov	x1, x22
	bl	_srpt_set_enabled
	mov	x0, x23
	bl	_mutex_unlock
	mov	x22, x19
	b	LBB0_8
LBB0_5:
	mov	x22, x0
	b	LBB0_9
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_9
LBB0_7:
	mov	x22, x0
LBB0_8:
	mov	x0, x20
	bl	_mutex_unlock
LBB0_9:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_srpt_tpg_attrib_use_srq_store
.subsections_via_symbols
