	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function del_mux_store
_del_mux_store:                         ## @del_mux_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r12
	callq	_to_net_dev
	movl	%eax, %edi
	callq	_netdev_priv
	movq	%rax, %r14
	xorl	%ebx, %ebx
	leaq	-36(%rbp), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_kstrtou8
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %r15d
	jmp	LBB0_12
LBB0_2:
	xorl	%eax, %eax
	callq	_rtnl_trylock
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	(%r14), %edi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_11:
	xorl	%eax, %eax
	callq	_rtnl_unlock
	jmp	LBB0_12
LBB0_3:
	xorl	%eax, %eax
	callq	_restart_syscall
	movl	%eax, %r15d
LBB0_12:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	-36(%rbp), %esi
	movq	%r14, %rdi
	callq	_qmimux_find_dev
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_qmimux_unregister_device
	movq	%r14, %rdi
	callq	_qmimux_has_slaves
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	_QMI_WWAN_FLAG_MUX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%r14)
	jmp	LBB0_11
LBB0_8:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot change a running device\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.1:                               ## @.str.1
	.asciz	"mux_id not present\n"

	.comm	_QMI_WWAN_FLAG_MUX,4,2          ## @QMI_WWAN_FLAG_MUX
	.no_dead_strip	_del_mux_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function del_mux_store
_del_mux_store:                         ; @del_mux_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, x3
	mov	x21, x2
	bl	_to_net_dev
	bl	_netdev_priv
	mov	x20, x0
	add	x2, sp, #12
	mov	x0, x21
	mov	w1, #0
	bl	_kstrtou8
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_8
LBB0_2:
	bl	_rtnl_trylock
	cbz	w0, LBB0_7
; %bb.3:
	ldr	w0, [x20]
	bl	_netif_running
	cbz	x0, LBB0_9
; %bb.4:
	ldr	w0, [x20]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
Lloh5:
	adrp	x8, _EBUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_6:
	bl	_rtnl_unlock
	b	LBB0_8
LBB0_7:
	bl	_restart_syscall
	mov	x19, x0
LBB0_8:
	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_9:
	ldr	w1, [sp, #12]
	mov	x0, x20
	bl	_qmimux_find_dev
	cbz	x0, LBB0_12
; %bb.10:
	mov	x1, #0
	bl	_qmimux_unregister_device
	mov	x0, x20
	bl	_qmimux_has_slaves
	cbnz	w0, LBB0_6
; %bb.11:
Lloh7:
	adrp	x8, _QMI_WWAN_FLAG_MUX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _QMI_WWAN_FLAG_MUX@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	bic	w8, w9, w8
	str	w8, [x20, #4]
	b	LBB0_6
LBB0_12:
	ldr	w0, [x20]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_err
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot change a running device\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.1:                               ; @.str.1
	.asciz	"mux_id not present\n"

	.comm	_QMI_WWAN_FLAG_MUX,4,2          ; @QMI_WWAN_FLAG_MUX
	.no_dead_strip	_del_mux_store
.subsections_via_symbols
