	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_qdisc                 ## -- Begin function register_qdisc
	.p2align	4, 0x90
_register_qdisc:                        ## @register_qdisc
	.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	%rdi, %r15
	movq	_EEXIST@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	movq	_qdisc_mod_lock@GOTPCREL(%rip), %rdi
	callq	_write_lock
	movq	_qdisc_base@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movl	40(%r15), %edi
	movl	40(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_1
	jmp	LBB0_18
LBB0_2:
	cmpq	$0, 32(%r15)
	jne	LBB0_4
## %bb.3:
	movq	_noop_qdisc_ops@GOTPCREL(%rip), %rax
	movq	16(%rax), %rax
	movq	%rax, 32(%r15)
LBB0_4:
	cmpq	$0, 24(%r15)
	movq	16(%r15), %rax
	je	LBB0_5
## %bb.8:
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_9
LBB0_5:
	testq	%rax, %rax
	jne	LBB0_17
## %bb.6:
	movq	_noop_qdisc_ops@GOTPCREL(%rip), %rax
	movq	8(%rax), %rax
	movq	%rax, 24(%r15)
LBB0_9:
	movq	_noop_qdisc_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r15)
LBB0_10:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:
	cmpq	$0, 32(%rax)
	je	LBB0_17
## %bb.12:
	cmpq	$0, 24(%rax)
	je	LBB0_17
## %bb.13:
	cmpq	$0, 16(%rax)
	je	LBB0_16
## %bb.14:
	cmpq	$0, 8(%rax)
	je	LBB0_17
## %bb.15:
	cmpq	$0, (%rax)
	je	LBB0_17
LBB0_16:
	movq	$0, (%r15)
	movq	%r15, (%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_18
LBB0_17:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_18:
	movq	_qdisc_mod_lock@GOTPCREL(%rip), %rdi
	callq	_write_unlock
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_qdisc_mod_lock,4,2             ## @qdisc_mod_lock
	.comm	_qdisc_base,8,3                 ## @qdisc_base
	.comm	_noop_qdisc_ops,24,3            ## @noop_qdisc_ops
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_qdisc                 ; -- Begin function register_qdisc
	.p2align	2
_register_qdisc:                        ; @register_qdisc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
Lloh0:
	adrp	x8, _EEXIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x0, _qdisc_mod_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _qdisc_mod_lock@GOTPAGEOFF]
	bl	_write_lock
Lloh5:
	adrp	x21, _qdisc_base@GOTPAGE
Lloh6:
	ldr	x21, [x21, _qdisc_base@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.1:
	neg	w20, w20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x8
	ldr	w0, [x19, #40]
	ldr	w1, [x8, #40]
	bl	_strcmp
	cbz	w0, LBB0_19
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21]
	cbnz	x8, LBB0_2
LBB0_4:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_8
; %bb.5:
	ldp	x8, x9, [x19, #16]
	cbz	x9, LBB0_9
LBB0_6:
	cbz	x8, LBB0_11
; %bb.7:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_12
	b	LBB0_17
LBB0_8:
Lloh7:
	adrp	x8, _noop_qdisc_ops@GOTPAGE
Lloh8:
	ldr	x8, [x8, _noop_qdisc_ops@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8, #16]
	str	x8, [x19, #32]
	ldp	x8, x9, [x19, #16]
	cbnz	x9, LBB0_6
LBB0_9:
	cbnz	x8, LBB0_18
; %bb.10:
Lloh10:
	adrp	x8, _noop_qdisc_ops@GOTPAGE
Lloh11:
	ldr	x8, [x8, _noop_qdisc_ops@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8, #8]
	str	x8, [x19, #24]
LBB0_11:
Lloh13:
	adrp	x8, _noop_qdisc_ops@GOTPAGE
Lloh14:
	ldr	x8, [x8, _noop_qdisc_ops@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_17
LBB0_12:
	ldr	x9, [x8, #32]
	cbz	x9, LBB0_18
; %bb.13:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_18
; %bb.14:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_17
; %bb.15:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_18
; %bb.16:
	ldr	x8, [x8]
	cbz	x8, LBB0_18
LBB0_17:
	mov	w20, #0
	str	xzr, [x19]
	str	x19, [x21]
	b	LBB0_19
LBB0_18:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_19:
Lloh19:
	adrp	x0, _qdisc_mod_lock@GOTPAGE
Lloh20:
	ldr	x0, [x0, _qdisc_mod_lock@GOTPAGEOFF]
	bl	_write_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_qdisc_mod_lock,4,2             ; @qdisc_mod_lock
	.comm	_qdisc_base,8,3                 ; @qdisc_base
	.comm	_noop_qdisc_ops,24,3            ; @noop_qdisc_ops
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
