	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_trans_register                 ## -- Begin function trans_register
	.p2align	4, 0x90
_trans_register:                        ## @trans_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	%r12
	pushq	%rbx
	subq	$272, %rsp                      ## imm = 0x110
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	$32, %edi
	callq	_malloc
	movq	%rax, (%r14)
	movq	_SNMP_ERR_GENERR@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	(%rbx), %rdi
	callq	_strlen
	incq	%rax
	movq	(%r14), %rcx
	movq	%rax, 16(%rcx)
	movq	(%rbx), %rdi
	callq	_strlen
	movq	(%r14), %rcx
	movq	8(%rcx), %rdx
	movl	%eax, (%rdx)
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:
	movq	(%rbx), %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rax,%rsi), %edi
	movl	%edi, 4(%rdx,%rsi,4)
	incq	%rsi
	movslq	(%rdx), %rdi
	cmpq	%rdi, %rsi
	jl	LBB0_3
LBB0_4:
	movq	%rbx, 24(%rcx)
	movq	(%r14), %rsi
	addq	$8, %rsi
	movq	_transport_list@GOTPCREL(%rip), %rdi
	xorl	%edx, %edx
	callq	_FIND_OBJECT_OID
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%r14), %rdi
	callq	_free
	movq	_SNMP_ERR_INCONS_VALUE@GOTPCREL(%rip), %r12
	jmp	LBB0_9
LBB0_6:
	movq	(%rbx), %rcx
	leaq	L_.str(%rip), %rdx
	leaq	-304(%rbp), %r15
	movq	%r15, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_snprintf
	addq	$8, %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_or_register
	movq	(%r14), %rdi
	movl	%eax, 4(%rdi)
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	_transport_list@GOTPCREL(%rip), %rsi
	callq	_INSERT_OBJECT_OID
	movq	(%r14), %rdi
	callq	_TAILQ_INIT
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %r12
	jmp	LBB0_9
LBB0_7:
	callq	_free
LBB0_9:
	movl	(%r12), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	addq	$272, %rsp                      ## imm = 0x110
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_ERR_GENERR,4,2            ## @SNMP_ERR_GENERR
	.comm	_transport_list,4,2             ## @transport_list
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ## @SNMP_ERR_INCONS_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s transport mapping"

	.comm	_SNMP_ERR_NOERROR,4,2           ## @SNMP_ERR_NOERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_trans_register                 ; -- Begin function trans_register
	.p2align	2
_trans_register:                        ; @trans_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x28, x27, [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 w27, -40
	.cfi_offset w28, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	mov	w0, #32
	bl	_malloc
	str	x0, [x19]
	cbz	x0, LBB0_9
; %bb.1:
	ldr	x0, [x20]
	bl	_strlen
	add	x8, x0, #1
	ldr	x9, [x19]
	str	x8, [x9, #16]
	ldr	x0, [x20]
	bl	_strlen
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	str	w0, [x9]
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x11, #0
	ldr	x10, [x20]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w12, [x10, x11]
	add	x13, x9, x11, lsl #2
	add	x14, x11, #1
	str	w12, [x13, #4]
	ldrsw	x12, [x9]
	mov	x11, x14
	cmp	x14, x12
	b.lt	LBB0_3
LBB0_4:
	str	x20, [x8, #24]
	ldr	x8, [x19]
	add	x1, x8, #8
Lloh3:
	adrp	x0, _transport_list@GOTPAGE
Lloh4:
	ldr	x0, [x0, _transport_list@GOTPAGEOFF]
	mov	w2, #0
	bl	_FIND_OBJECT_OID
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x0, [x19]
	bl	_free
Lloh5:
	adrp	x8, _SNMP_ERR_INCONS_VALUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNMP_ERR_INCONS_VALUE@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
	ldr	x3, [x20], #8
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #256
	bl	_snprintf
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, #0
	bl	_or_register
	mov	x8, x0
	ldr	x0, [x19]
	str	w8, [x0, #4]
	cbz	w8, LBB0_8
; %bb.7:
Lloh9:
	adrp	x1, _transport_list@GOTPAGE
Lloh10:
	ldr	x1, [x1, _transport_list@GOTPAGEOFF]
	bl	_INSERT_OBJECT_OID
	ldr	x0, [x19]
	bl	_TAILQ_INIT
Lloh11:
	adrp	x8, _SNMP_ERR_NOERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SNMP_ERR_NOERROR@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	bl	_free
LBB0_9:
Lloh13:
	adrp	x8, _SNMP_ERR_GENERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SNMP_ERR_GENERR@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldur	x8, [x29, #-40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_ERR_GENERR,4,2            ; @SNMP_ERR_GENERR
	.comm	_transport_list,4,2             ; @transport_list
	.comm	_SNMP_ERR_INCONS_VALUE,4,2      ; @SNMP_ERR_INCONS_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s transport mapping"

	.comm	_SNMP_ERR_NOERROR,4,2           ; @SNMP_ERR_NOERROR
.subsections_via_symbols
