	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_sock_port
_make_sock_port:                        ## @make_sock_port
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, -196(%rbp)                ## 4-byte Spill
	movq	%rcx, -208(%rbp)                ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	%edi, %r13d
	movl	64(%rbp), %eax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movl	56(%rbp), %eax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	movl	48(%rbp), %eax
	movq	%rax, -232(%rbp)                ## 8-byte Spill
	movl	40(%rbp), %eax
	movq	%rax, -240(%rbp)                ## 8-byte Spill
	movq	32(%rbp), %rax
	movq	%rax, -248(%rbp)                ## 8-byte Spill
	movq	24(%rbp), %rax
	movq	%rax, -256(%rbp)                ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rax, -264(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %r15
	subq	%rbx, %r15
	cmpq	$128, %r15
	jb	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r13d, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	-208(%rbp), %rcx                ## 8-byte Reload
	movl	-196(%rbp), %r8d                ## 4-byte Reload
	movq	%r12, %r9
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_make_sock                      ## TAILCALL
LBB0_4:
	incq	%r14
	movq	%r14, %rdi
	callq	_strlen
	cmpq	$16, %rax
	jb	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
LBB0_3:
	movq	%rbx, %rsi
	callq	_log_err
	movl	$0, (%r12)
	movl	$-1, %eax
	jmp	LBB0_7
LBB0_6:
	leaq	-192(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$128, %edx
	callq	_strlcpy
	movb	$0, -192(%rbp,%r15)
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_strlcpy
	movq	%r14, %rdi
	callq	_strlen
	movb	$0, -64(%rbp,%rax)
	subq	$8, %rsp
	movl	%r13d, %edi
	leaq	-192(%rbp), %rsi
	movq	%rbx, %rdx
	movq	-208(%rbp), %rcx                ## 8-byte Reload
	movl	-196(%rbp), %r8d                ## 4-byte Reload
	movq	%r12, %r9
	pushq	-216(%rbp)                      ## 8-byte Folded Reload
	pushq	-224(%rbp)                      ## 8-byte Folded Reload
	pushq	-232(%rbp)                      ## 8-byte Folded Reload
	pushq	-240(%rbp)                      ## 8-byte Folded Reload
	pushq	-248(%rbp)                      ## 8-byte Folded Reload
	pushq	-256(%rbp)                      ## 8-byte Folded Reload
	pushq	-264(%rbp)                      ## 8-byte Folded Reload
	callq	_make_sock
	addq	$64, %rsp
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_11
## %bb.8:
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ifname too long: %s"

L_.str.1:                               ## @.str.1
	.asciz	"portnumber too long: %s"

	.no_dead_strip	_make_sock_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_sock_port
_make_sock_port:                        ; @make_sock_port
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x28, x27, [sp, #224]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #240]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #256]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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	x23, x7
	str	x6, [sp, #56]                   ; 8-byte Folded Spill
	mov	x19, x5
	str	w4, [sp, #52]                   ; 4-byte Folded Spill
	str	x3, [sp, #40]                   ; 8-byte Folded Spill
	mov	x26, x2
	mov	x25, x1
	mov	x24, x0
	ldp	w21, w22, [x29, #32]
	ldp	w28, w20, [x29, #24]
	ldr	x27, [x29, #16]
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	mov	x0, x1
	mov	w1, #64
	bl	_strchr
	cbz	x0, LBB0_3
; %bb.1:
	str	x23, [sp, #32]                  ; 8-byte Folded Spill
	sub	x23, x0, x25
	cmp	x23, #128
	b.lo	LBB0_5
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_3:
	stp	w21, w22, [x29, #32]
	stp	w28, w20, [x29, #24]
	str	x27, [x29, #16]
	ldur	x8, [x29, #-96]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.4:
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	ldr	x3, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w4, [sp, #52]                   ; 4-byte Folded Reload
	mov	x5, x19
	ldr	x6, [sp, #56]                   ; 8-byte Folded Reload
	mov	x7, x23
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #256]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #240]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #320
	b	_make_sock
LBB0_5:
	add	x26, x0, #1
	mov	x0, x26
	bl	_strlen
	cmp	x0, #16
	b.lo	LBB0_8
; %bb.6:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_7:
	mov	x1, x25
	bl	_log_err
	str	wzr, [x19]
	mov	w0, #-1
	b	LBB0_9
LBB0_8:
	add	x0, sp, #64
	mov	x1, x25
	mov	w2, #128
	bl	_strlcpy
	add	x8, sp, #64
	strb	wzr, [x8, x23]
	sub	x23, x29, #112
	sub	x0, x29, #112
	mov	x1, x26
	mov	w2, #16
	bl	_strlcpy
	mov	x0, x26
	bl	_strlen
	strb	wzr, [x23, x0]
	stp	w21, w22, [sp, #16]
	add	x1, sp, #64
	sub	x2, x29, #112
	stp	w28, w20, [sp, #8]
	str	x27, [sp]
	mov	x0, x24
	ldp	x7, x3, [sp, #32]               ; 16-byte Folded Reload
	ldr	w4, [sp, #52]                   ; 4-byte Folded Reload
	mov	x5, x19
	ldr	x6, [sp, #56]                   ; 8-byte Folded Reload
	bl	_make_sock
LBB0_9:
	ldur	x8, [x29, #-96]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #256]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #240]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ifname too long: %s"

l_.str.1:                               ; @.str.1
	.asciz	"portnumber too long: %s"

	.no_dead_strip	_make_sock_port
.subsections_via_symbols
