	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_opt
_process_opt:                           ## @process_opt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$25, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$83, %esi
	je	LBB0_4
## %bb.2:
	movl	$-1, %ebx
	cmpl	$111, %esi
	jne	LBB0_9
## %bb.3:
	xorl	%ebx, %ebx
	movq	%rdx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoul
	movq	_oui@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_9
LBB0_5:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_dgid@GOTPCREL(%rip), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_inet_pton
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	_with_grh@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_8
LBB0_4:
	movq	_server@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_8:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	xorl	%eax, %eax
	callq	_ibdiag_show_usage
	movl	$1, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_oui,4,2                        ## @oui
	.comm	_server,4,2                     ## @server
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_dgid,4,2                       ## @dgid
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dgid format is wrong!\n"

	.comm	_with_grh,4,2                   ## @with_grh
	.no_dead_strip	_process_opt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_opt
_process_opt:                           ; @process_opt
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w1, #25
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #83
	b.eq	LBB0_6
; %bb.2:
	cmp	w1, #111
	b.ne	LBB0_8
; %bb.3:
	mov	x0, x2
	mov	w1, #0
	mov	w2, #0
	bl	_strtoul
	mov	x8, x0
	mov	w0, #0
Lloh0:
	adrp	x9, _oui@GOTPAGE
Lloh1:
	ldr	x9, [x9, _oui@GOTPAGEOFF]
Lloh2:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh3:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _dgid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dgid@GOTPAGEOFF]
	mov	x1, x2
	mov	x2, x8
	bl	_inet_pton
	cbz	w0, LBB0_9
; %bb.5:
	mov	w0, #0
Lloh8:
	adrp	x8, _with_grh@GOTPAGE
Lloh9:
	ldr	x8, [x8, _with_grh@GOTPAGEOFF]
	mov	w9, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
Lloh10:
	adrp	x8, _server@GOTPAGE
Lloh11:
	ldr	x8, [x8, _server@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
LBB0_7:
	str	w9, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	bl	_ibdiag_show_usage
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_oui,4,2                        ; @oui
	.comm	_server,4,2                     ; @server
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_dgid,4,2                       ; @dgid
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dgid format is wrong!\n"

	.comm	_with_grh,4,2                   ; @with_grh
	.no_dead_strip	_process_opt
.subsections_via_symbols
