	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raw_ip_store
_raw_ip_store:                          ## @raw_ip_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, %r12
	movq	%rdx, %rbx
	callq	_to_net_dev
	movl	%eax, %edi
	callq	_netdev_priv
	movq	%rax, %r14
	leaq	-36(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_strtobool
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subq	(%rax), %r12
	jmp	LBB0_14
LBB0_2:
	movq	_QMI_WWAN_FLAG_RAWIP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	andl	4(%r14), %eax
	cmpl	%eax, -36(%rbp)
	je	LBB0_14
## %bb.3:
	xorl	%eax, %eax
	callq	_rtnl_trylock
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	(%r14), %edi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_13
LBB0_4:
	xorl	%eax, %eax
	callq	_restart_syscall
	movq	%rax, %r12
	jmp	LBB0_14
LBB0_7:
	movq	_NETDEV_PRE_TYPE_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_call_netdevice_notifiers
	movl	%eax, %edi
	callq	_notifier_to_errno
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %r15d
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_err
	movl	%r15d, %r12d
	jmp	LBB0_13
LBB0_9:
	cmpl	$0, -36(%rbp)
	movl	(%rbx), %eax
	je	LBB0_11
## %bb.10:
	orl	4(%r14), %eax
	jmp	LBB0_12
LBB0_11:
	notl	%eax
	andl	4(%r14), %eax
LBB0_12:
	movl	%eax, 4(%r14)
	movl	(%r14), %edi
	callq	_qmi_wwan_netdev_setup
	movq	_NETDEV_POST_TYPE_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_call_netdevice_notifiers
LBB0_13:
	xorl	%eax, %eax
	callq	_rtnl_unlock
	movslq	%r12d, %r12
LBB0_14:
	movq	%r12, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_QMI_WWAN_FLAG_RAWIP,4,2        ## @QMI_WWAN_FLAG_RAWIP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot change a running device\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_NETDEV_PRE_TYPE_CHANGE,4,2     ## @NETDEV_PRE_TYPE_CHANGE
L_.str.1:                               ## @.str.1
	.asciz	"Type change was refused\n"

	.comm	_NETDEV_POST_TYPE_CHANGE,4,2    ## @NETDEV_POST_TYPE_CHANGE
	.no_dead_strip	_raw_ip_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raw_ip_store
_raw_ip_store:                          ; @raw_ip_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	x1, sp, #12
	mov	x0, x21
	bl	_strtobool
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	neg	x19, x8
	b	LBB0_14
LBB0_2:
	ldr	w8, [sp, #12]
	ldr	w9, [x20, #4]
Lloh3:
	adrp	x22, _QMI_WWAN_FLAG_RAWIP@GOTPAGE
Lloh4:
	ldr	x22, [x22, _QMI_WWAN_FLAG_RAWIP@GOTPAGEOFF]
	ldr	w10, [x22]
	and	w9, w10, w9
	cmp	w8, w9
	b.eq	LBB0_14
; %bb.3:
	bl	_rtnl_trylock
	cbz	w0, LBB0_6
; %bb.4:
	ldr	w0, [x20]
	bl	_netif_running
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w0, [x20]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
Lloh7:
	adrp	x8, _EBUSY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_13
LBB0_6:
	bl	_restart_syscall
	mov	x19, x0
	b	LBB0_14
LBB0_7:
Lloh10:
	adrp	x8, _NETDEV_PRE_TYPE_CHANGE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NETDEV_PRE_TYPE_CHANGE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_call_netdevice_notifiers
	bl	_notifier_to_errno
	cbz	w0, LBB0_9
; %bb.8:
	mov	x21, x0
	ldr	w0, [x20]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_err
	b	LBB0_13
LBB0_9:
	ldr	w9, [sp, #12]
	ldr	w8, [x22]
	cbz	w9, LBB0_11
; %bb.10:
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	b	LBB0_12
LBB0_11:
	ldr	w9, [x20, #4]
	bic	w8, w9, w8
LBB0_12:
	str	w8, [x20, #4]
	ldr	w0, [x20]
	bl	_qmi_wwan_netdev_setup
Lloh15:
	adrp	x8, _NETDEV_POST_TYPE_CHANGE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NETDEV_POST_TYPE_CHANGE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_call_netdevice_notifiers
	mov	x21, x19
LBB0_13:
	bl	_rtnl_unlock
	sxtw	x19, w21
LBB0_14:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_QMI_WWAN_FLAG_RAWIP,4,2        ; @QMI_WWAN_FLAG_RAWIP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot change a running device\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_NETDEV_PRE_TYPE_CHANGE,4,2     ; @NETDEV_PRE_TYPE_CHANGE
l_.str.1:                               ; @.str.1
	.asciz	"Type change was refused\n"

	.comm	_NETDEV_POST_TYPE_CHANGE,4,2    ; @NETDEV_POST_TYPE_CHANGE
	.no_dead_strip	_raw_ip_store
.subsections_via_symbols
