	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_priomap
_write_priomap:                         ## @write_priomap
	.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	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	callq	_kstrdup
	movq	%rax, %r14
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movq	%r15, %rdi
	callq	_cgrp_netprio_state
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_strlen
	cmpl	$3, %eax
	jl	LBB0_13
## %bb.3:
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	movb	$0, (%rax)
	cmpb	$0, 1(%rax)
	je	LBB0_13
## %bb.5:
	incq	%rax
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	movl	$10, %edx
	callq	_simple_strtoul
	movq	%rax, %r15
	movq	-48(%rbp), %rax
	movzbl	(%rax), %eax
	cmpq	$32, %rax
	ja	LBB0_13
## %bb.6:
	movabsq	$4294968321, %rcx               ## imm = 0x100000401
	btq	%rax, %rcx
	jae	LBB0_13
## %bb.7:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movq	_init_net@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_dev_get_by_name
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_write_update_netdev_table
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_12
## %bb.9:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%r12, %rdi
	callq	_netdev_extended
	movl	(%rax), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	(%rax), %rax
	movq	%r15, (%rax,%rbx,8)
LBB0_11:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_12:
	movq	%r12, %rdi
	callq	_dev_put
LBB0_13:
	movq	%r14, %rdi
	callq	_kfree
	jmp	LBB0_14
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %r13d
LBB0_14:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_init_net,4,2                   ## @init_net
	.no_dead_strip	_write_priomap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_priomap
_write_priomap:                         ; @write_priomap
	.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	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_kstrdup
	mov	x19, x0
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_cgrp_netprio_state
	cbz	x19, LBB0_11
; %bb.1:
	neg	w20, w21
	ldr	x23, [x0]
	mov	x0, x19
	bl	_strlen
	cmp	w0, #3
	b.lt	LBB0_13
; %bb.2:
	mov	x0, x19
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_13
; %bb.3:
	strb	wzr, [x0]
	ldrb	w8, [x0, #1]!
	cbz	w8, LBB0_13
; %bb.4:
	add	x1, sp, #8
	mov	w2, #10
	bl	_simple_strtoul
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cmp	w8, #32
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #1025
	movk	x9, #1, lsl #32
	and	x8, x8, x9
	ccmp	x8, #0, #4, ls
	b.eq	LBB0_13
; %bb.5:
	mov	x21, x0
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
Lloh9:
	adrp	x0, _init_net@GOTPAGE
Lloh10:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	mov	x1, x19
	bl	_dev_get_by_name
	cbz	x0, LBB0_12
; %bb.6:
	mov	x22, x0
	bl	_write_update_netdev_table
	mov	x20, x0
	tbnz	w0, #31, LBB0_10
; %bb.7:
	bl	_rcu_read_lock
	mov	x0, x22
	bl	_netdev_extended
	ldr	w0, [x0]
	bl	_rcu_dereference
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x8, [x0]
	str	x21, [x8, x23, lsl #3]
LBB0_9:
	bl	_rcu_read_unlock
LBB0_10:
	mov	x0, x22
	bl	_dev_put
	b	LBB0_13
LBB0_11:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_14
LBB0_12:
	neg	w20, w20
LBB0_13:
	mov	x0, x19
	bl	_kfree
LBB0_14:
	mov	x0, x20
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_init_net,4,2                   ; @init_net
	.no_dead_strip	_write_priomap
.subsections_via_symbols
