	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function translate_IOP_to_pcap_name
_translate_IOP_to_pcap_name:            ## @translate_IOP_to_pcap_name
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$32, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	%r12d, (%r15)
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_strcpy
	movq	%rbx, 8(%r15)
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movl	$2, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.12:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	movl	$3, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.16:
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	movl	$3, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_17
## %bb.28:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_26
LBB0_1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_6:
	cmpl	$129, %r12d
	jne	LBB0_9
## %bb.7:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_8
LBB0_13:
	cmpl	$129, %r12d
	jne	LBB0_15
## %bb.14:
	leaq	L_.str.4(%rip), %rdx
LBB0_8:
	leaq	-80(%rbp), %rdi
	movl	$32, %esi
	movq	%r14, %rcx
	callq	_nonUnified_IOP_port_name
	jmp	LBB0_20
LBB0_9:
	addq	$2, %r13
	jmp	LBB0_10
LBB0_17:
	addq	$3, %r13
	movq	%r13, %rdi
	callq	_atoi
	cmpl	$128, %r12d
	jne	LBB0_11
## %bb.18:
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_19
LBB0_15:
	addq	$3, %r13
LBB0_10:
	movq	%r13, %rdi
	callq	_atoi
LBB0_11:
	leaq	L_.str.3(%rip), %rdx
LBB0_19:
	leaq	-80(%rbp), %rdi
	movl	$32, %esi
	movq	%r14, %rcx
	movl	%eax, %r8d
	callq	_unified_IOP_port_name
LBB0_20:
	leaq	-80(%rbp), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_21
## %bb.22:
	movq	%rax, %rbx
	leaq	-80(%rbp), %rsi
	movq	%rax, %rdi
	callq	_strcpy
	movq	%rbx, 16(%r15)
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_23
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rcx
	movq	24(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_24
## %bb.25:
	movq	%r15, 24(%rcx)
	jmp	LBB0_26
LBB0_21:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.7(%rip), %rsi
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.27:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	%r15, (%r14)
	jmp	LBB0_26
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error...couldn't allocate memory for interface structure...value of errno is: %d\n"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"Error...couldn't allocate memory for IOPname...value of errno is: %d\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"???"

L_.str.4:                               ## @.str.4
	.asciz	"eth"

L_.str.5:                               ## @.str.5
	.asciz	"wan"

L_.str.6:                               ## @.str.6
	.asciz	"Error... invalid IOP name %s\n"

L_.str.7:                               ## @.str.7
	.asciz	"Error...couldn't allocate memory for IOP port name...value of errno is: %d\n"

	.no_dead_strip	_translate_IOP_to_pcap_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function translate_IOP_to_pcap_name
_translate_IOP_to_pcap_name:            ; @translate_IOP_to_pcap_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	mov	w0, #32
	bl	_malloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	str	w22, [x19]
	mov	x0, x21
	bl	_strlen
	add	w0, w0, #1
	bl	_malloc
	cbz	x0, LBB0_7
; %bb.2:
	mov	x23, x0
	mov	x1, x21
	bl	_strcpy
	str	x23, [x19, #8]
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	w2, #2
	bl	_strncmp
	cbz	x0, LBB0_11
; %bb.3:
Lloh5:
	adrp	x1, l_.str.4@PAGE
Lloh6:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	w2, #3
	bl	_strncmp
	cbz	x0, LBB0_13
; %bb.4:
Lloh7:
	adrp	x1, l_.str.5@PAGE
Lloh8:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	w2, #3
	bl	_strncmp
	cbz	x0, LBB0_17
; %bb.5:
Lloh9:
	adrp	x8, _stderr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh14:
	adrp	x8, _stderr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _errno@GOTPAGE
Lloh18:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh22:
	adrp	x8, _stderr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _errno@GOTPAGE
Lloh26:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	bl	_fprintf
	mov	x21, #0
LBB0_9:
	ldr	x8, [sp, #40]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.10:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
	cmp	w22, #129
	b.ne	LBB0_16
; %bb.12:
Lloh33:
	adrp	x2, l_.str.2@PAGE
Lloh34:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_13:
	cmp	w22, #129
	b.ne	LBB0_19
; %bb.14:
Lloh35:
	adrp	x2, l_.str.4@PAGE
Lloh36:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_15:
	add	x0, sp, #8
	mov	w1, #32
	mov	x3, x20
	bl	_nonUnified_IOP_port_name
	b	LBB0_23
LBB0_16:
	add	x0, x21, #2
	b	LBB0_20
LBB0_17:
	add	x0, x21, #3
	bl	_atoi
	mov	x4, x0
	cmp	w22, #128
	b.ne	LBB0_21
; %bb.18:
Lloh37:
	adrp	x2, l_.str.5@PAGE
Lloh38:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_22
LBB0_19:
	add	x0, x21, #3
LBB0_20:
	bl	_atoi
	mov	x4, x0
LBB0_21:
Lloh39:
	adrp	x2, l_.str.3@PAGE
Lloh40:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_22:
	add	x0, sp, #8
	mov	w1, #32
	mov	x3, x20
	bl	_unified_IOP_port_name
LBB0_23:
	add	x0, sp, #8
	bl	_strlen
	add	w0, w0, #1
	bl	_malloc
	mov	x21, x0
	cbz	x0, LBB0_27
; %bb.24:
	add	x1, sp, #8
	mov	x0, x21
	bl	_strcpy
	str	x21, [x19, #16]
	ldr	x8, [x20]
	cbz	x8, LBB0_28
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #24]
	cbnz	x8, LBB0_25
; %bb.26:
	str	x19, [x9, #24]
	b	LBB0_9
LBB0_27:
Lloh41:
	adrp	x8, _stderr@GOTPAGE
Lloh42:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x8, _errno@GOTPAGE
Lloh45:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh47:
	adrp	x1, l_.str.7@PAGE
Lloh48:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
	b	LBB0_9
LBB0_28:
	str	x19, [x20]
	b	LBB0_9
LBB0_29:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error...couldn't allocate memory for interface structure...value of errno is: %d\n"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"Error...couldn't allocate memory for IOPname...value of errno is: %d\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"???"

l_.str.4:                               ; @.str.4
	.asciz	"eth"

l_.str.5:                               ; @.str.5
	.asciz	"wan"

l_.str.6:                               ; @.str.6
	.asciz	"Error... invalid IOP name %s\n"

l_.str.7:                               ; @.str.7
	.asciz	"Error...couldn't allocate memory for IOP port name...value of errno is: %d\n"

	.no_dead_strip	_translate_IOP_to_pcap_name
.subsections_via_symbols
