	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_register                   ## -- Begin function svc_register
	.p2align	4, 0x90
_svc_register:                          ## @svc_register
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	xorl	%edi, %edi
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, %eax
	movl	%edx, %r13d
	orw	%dx, %ax
	sete	%dil
	callq	_BUG_ON
	movq	(%rbx), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r15), %r15
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testq	%r15, %r15
	je	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, (%r15)
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%r12
	movl	(%r15), %eax
	cmpq	%rax, %r12
	jae	LBB0_8
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r15), %rax
	movq	(%rax,%r12,8), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	8(%r15), %esi
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	cmpw	%r13w, (%rcx)
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rdx, %rcx
	cmpq	$0, (%rax)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rdx
	cmoveq	%rdx, %rax
	movq	%rax, (%rsp)
	movzwl	-48(%rbp), %r14d                ## 2-byte Folded Reload
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %edx
	movl	%r14d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_dprintk
	movq	16(%r15), %rax
	movq	(%rax,%r12,8), %rax
	cmpq	$0, (%rax)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	4(%r15), %esi
	movl	8(%r15), %edi
	movzwl	%r13w, %r8d
	movl	%r12d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %r9d
	callq	___svc_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_7
	jmp	LBB0_8
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"svc: svc_register(%sv%d, %s, %u, %u)%s\n"

	.comm	_IPPROTO_UDP,2,1                ## @IPPROTO_UDP
L_.str.1:                               ## @.str.1
	.asciz	"udp"

L_.str.2:                               ## @.str.2
	.asciz	"tcp"

L_.str.3:                               ## @.str.3
	.asciz	" (but not telling portmap)"

L_.str.4:                               ## @.str.4
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_register                   ; -- Begin function svc_register
	.p2align	2
_svc_register:                          ; @svc_register
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	orr	w8, w3, w2
	cmp	w8, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x25, [x22]
	cbz	x25, LBB0_9
; %bb.1:
	mov	w22, #0
Lloh0:
	adrp	x28, l_.str.1@PAGE
Lloh1:
	add	x28, x28, l_.str.1@PAGEOFF
Lloh2:
	adrp	x26, l_.str.3@PAGE
Lloh3:
	add	x26, x26, l_.str.3@PAGEOFF
Lloh4:
	adrp	x27, l_.str.4@PAGE
Lloh5:
	add	x27, x27, l_.str.4@PAGEOFF
Lloh6:
	adrp	x23, l_.str@PAGE
Lloh7:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x25, [x25, #24]
	cbz	x25, LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	w8, [x25]
	cbz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x24, x24, #1
	ldr	w8, [x25]
	cmp	x24, x8
	b.hs	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x25, #16]
	ldr	x8, [x8, x24, lsl #3]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w1, [x25, #8]
Lloh8:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
	ldrh	w9, [x9]
	cmp	w9, w20
Lloh10:
	adrp	x9, l_.str.2@PAGE
Lloh11:
	add	x9, x9, l_.str.2@PAGEOFF
	csel	x3, x28, x9, eq
	ldr	x8, [x8]
	cmp	x8, #0
	csel	x6, x27, x26, eq
	mov	x0, x23
	mov	x2, x24
	mov	x4, x19
	mov	x5, x21
	bl	_dprintk
	ldr	x8, [x25, #16]
	ldr	x8, [x8, x24, lsl #3]
	ldr	x8, [x8]
	cbnz	x8, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	ldp	w1, w0, [x25, #4]
	mov	x2, x24
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	___svc_register
	mov	x22, x0
	tbz	w0, #31, LBB0_5
	b	LBB0_2
LBB0_9:
	mov	w22, #0
LBB0_10:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"svc: svc_register(%sv%d, %s, %u, %u)%s\n"

	.comm	_IPPROTO_UDP,2,1                ; @IPPROTO_UDP
l_.str.1:                               ; @.str.1
	.asciz	"udp"

l_.str.2:                               ; @.str.2
	.asciz	"tcp"

l_.str.3:                               ; @.str.3
	.asciz	" (but not telling portmap)"

l_.str.4:                               ; @.str.4
	.space	1

.subsections_via_symbols
