	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lsock_func
_lsock_func:                            ## @lsock_func
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	_SNMP_ERR_NOERROR@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	cmpl	$128, %edx
	je	LBB0_11
## %bb.1:
	cmpl	$129, %edx
	je	LBB0_13
## %bb.2:
	cmpl	$130, %edx
	jne	LBB0_17
## %bb.3:
	movl	(%rbx), %ecx
	movq	_LD_STATUS@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_4
## %bb.5:
	cmpq	$0, 8(%rbx)
	movl	16(%rbx), %edx
	je	LBB0_6
## %bb.9:
	testl	%edx, %edx
	je	LBB0_10
## %bb.18:
	movq	_SNMP_ERR_READONLY@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_11:
	movq	_LD_CREATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_20
## %bb.12:
	movq	8(%rbx), %rdi
	callq	_lsock_close_port
	movl	(%r14), %eax
	jmp	LBB0_20
LBB0_13:
	movq	_LD_DELETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_16
## %bb.14:
	movl	(%rdi), %eax
	movq	_SNMP_RET_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_16
## %bb.15:
	movq	8(%rbx), %rdi
	callq	_lsock_close_port
LBB0_16:
	movl	4(%rbx), %edi
	callq	_free
	movl	(%r14), %eax
	jmp	LBB0_20
LBB0_6:
	testl	%edx, %edx
	je	LBB0_4
## %bb.7:
	leaq	8(%rbx), %rdx
	movl	24(%rbx), %esi
	movl	4(%rbx), %edi
	movl	20(%rbx), %ecx
	callq	_lsock_open_port
	cmpl	(%r14), %eax
	jne	LBB0_20
## %bb.8:
	movq	_LD_CREATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rbx)
	jmp	LBB0_20
LBB0_4:
	movq	_SNMP_ERR_BADVALUE@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %eax
LBB0_20:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movq	_LD_DELETE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_20
LBB0_17:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_SNMP_ERR_NOERROR,4,2           ## @SNMP_ERR_NOERROR
	.comm	_LD_STATUS,4,2                  ## @LD_STATUS
	.comm	_SNMP_ERR_BADVALUE,4,2          ## @SNMP_ERR_BADVALUE
	.comm	_LD_CREATE,4,2                  ## @LD_CREATE
	.comm	_LD_DELETE,4,2                  ## @LD_DELETE
	.comm	_SNMP_ERR_READONLY,4,2          ## @SNMP_ERR_READONLY
	.comm	_SNMP_RET_OK,4,2                ## @SNMP_RET_OK
	.no_dead_strip	_lsock_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lsock_func
_lsock_func:                            ; @lsock_func
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x8, x0
Lloh0:
	adrp	x20, _SNMP_ERR_NOERROR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SNMP_ERR_NOERROR@GOTPAGEOFF]
	ldr	w0, [x20]
	cmp	w2, #128
	b.eq	LBB0_7
; %bb.1:
	cmp	w2, #129
	b.eq	LBB0_9
; %bb.2:
	cmp	w2, #130
	b.ne	LBB0_21
; %bb.3:
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _LD_STATUS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LD_STATUS@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.4:
	mov	x2, x19
	ldr	x10, [x2, #8]!
	ldr	w9, [x2, #8]
	cbz	x10, LBB0_13
; %bb.5:
	cbz	w9, LBB0_18
; %bb.6:
Lloh5:
	adrp	x8, _SNMP_ERR_READONLY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SNMP_ERR_READONLY@GOTPAGEOFF]
	b	LBB0_17
LBB0_7:
	ldr	w8, [x19]
Lloh7:
	adrp	x9, _LD_CREATE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _LD_CREATE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.8:
	ldr	x0, [x19, #8]
	bl	_lsock_close_port
	ldr	w0, [x20]
	b	LBB0_20
LBB0_9:
	ldr	w9, [x19]
Lloh10:
	adrp	x10, _LD_DELETE@GOTPAGE
Lloh11:
	ldr	x10, [x10, _LD_DELETE@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_12
; %bb.10:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _SNMP_RET_OK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SNMP_RET_OK@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.11:
	ldr	x0, [x19, #8]
	bl	_lsock_close_port
LBB0_12:
	ldr	w0, [x19, #4]
	bl	_free
	ldr	w0, [x20]
	b	LBB0_20
LBB0_13:
	cbz	w9, LBB0_16
; %bb.14:
	ldr	w0, [x19, #4]
	ldp	w3, w1, [x19, #20]
	bl	_lsock_open_port
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_20
; %bb.15:
Lloh16:
	adrp	x8, _LD_CREATE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LD_CREATE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	w9, [x19]
	b	LBB0_19
LBB0_16:
Lloh19:
	adrp	x8, _SNMP_ERR_BADVALUE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SNMP_ERR_BADVALUE@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	b	LBB0_20
LBB0_18:
Lloh21:
	adrp	x9, _LD_DELETE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _LD_DELETE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
LBB0_19:
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_20:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	_abort
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SNMP_ERR_NOERROR,4,2           ; @SNMP_ERR_NOERROR
	.comm	_LD_STATUS,4,2                  ; @LD_STATUS
	.comm	_SNMP_ERR_BADVALUE,4,2          ; @SNMP_ERR_BADVALUE
	.comm	_LD_CREATE,4,2                  ; @LD_CREATE
	.comm	_LD_DELETE,4,2                  ; @LD_DELETE
	.comm	_SNMP_ERR_READONLY,4,2          ; @SNMP_ERR_READONLY
	.comm	_SNMP_RET_OK,4,2                ; @SNMP_RET_OK
	.no_dead_strip	_lsock_func
.subsections_via_symbols
