	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r15d
	xorl	%ecx, %ecx
	leaq	L_.str(%rip), %r13
	leaq	LJTI0_0(%rip), %r12
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_atoi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r14d, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %r14d
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$67, %eax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$109, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_18
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	-67(%rax), %ecx
	cmpl	$47, %ecx
	ja	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r12,%rcx,4), %rdx
	addq	%r12, %rdx
	xorl	%ecx, %ecx
	jmpq	*%rdx
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strdup
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, %ecx
	jmp	LBB0_1
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_optarg@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_fprintf
	movl	$-1, %edi
	callq	_usage
	movl	%r14d, %ecx
	jmp	LBB0_1
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_NETMAP_BDG_POLLING_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_1
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_NETMAP_BDG_ATTACH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_1
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_NETMAP_BDG_DETACH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_NETMAP_BDG_ATTACH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_NETMAP_BDG_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_1
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_NETMAP_BDG_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_1
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_NETMAP_BDG_NEWIF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_1
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_NETMAP_BDG_POLLING_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_1
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_NETMAP_BDG_DELIF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_1
LBB0_18:
	movq	_optind@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_20
## %bb.19:
	movl	$-1, %edi
	callq	_usage
LBB0_20:
	xorl	%eax, %eax
	cmpl	$1, %r15d
	movq	_NETMAP_BDG_LIST@GOTPCREL(%rip), %rcx
	cmovel	(%rcx), %r14d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	cmoveq	%rax, %rdi
	movl	%r14d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_bdg_ctl
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_16
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_1
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_13
	.long	L0_0_set_17
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_15
	.long	L0_0_set_7
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"d:a:h:g:l:n:r:C:p:P:m:"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"bad option %c %s"

	.comm	_NETMAP_BDG_DETACH,4,2          ## @NETMAP_BDG_DETACH
	.comm	_NETMAP_BDG_ATTACH,4,2          ## @NETMAP_BDG_ATTACH
	.comm	_NETMAP_BDG_HOST,4,2            ## @NETMAP_BDG_HOST
	.comm	_NETMAP_BDG_NEWIF,4,2           ## @NETMAP_BDG_NEWIF
	.comm	_NETMAP_BDG_DELIF,4,2           ## @NETMAP_BDG_DELIF
	.comm	_NETMAP_BDG_LIST,4,2            ## @NETMAP_BDG_LIST
	.comm	_NETMAP_BDG_POLLING_ON,4,2      ## @NETMAP_BDG_POLLING_ON
	.comm	_NETMAP_BDG_POLLING_OFF,4,2     ## @NETMAP_BDG_POLLING_OFF
	.comm	_optind,4,2                     ## @optind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x22, x0
	mov	w8, #0
	mov	w19, #0
	mov	x26, #0
	mov	x21, #0
	mov	w20, #0
Lloh0:
	adrp	x28, _optarg@GOTPAGE
Lloh1:
	ldr	x28, [x28, _optarg@GOTPAGEOFF]
Lloh2:
	adrp	x24, l_.str@PAGE
Lloh3:
	add	x24, x24, l_.str@PAGEOFF
Lloh4:
	adrp	x27, lJTI0_0@PAGE
Lloh5:
	add	x27, x27, lJTI0_0@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x28]
	bl	_atoi
	mov	x20, x0
	mov	x8, x25
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x25, x8
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_getopt
	mov	x2, x0
	subs	w9, w0, #67
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w2, #109
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w2, #1
	b.eq	LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x26, [x28]
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w9, #47
	b.hi	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	adr	x10, LBB0_1
	ldrb	w11, [x27, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x28]
	bl	_strdup
	mov	x21, x0
	mov	x8, x25
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x3, [x28]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	w0, #-1
	bl	_usage
	mov	x8, x25
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh11:
	adrp	x8, _NETMAP_BDG_POLLING_OFF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NETMAP_BDG_POLLING_OFF@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh14:
	adrp	x8, _NETMAP_BDG_ATTACH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NETMAP_BDG_ATTACH@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh17:
	adrp	x8, _NETMAP_BDG_DETACH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NETMAP_BDG_DETACH@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh20:
	adrp	x8, _NETMAP_BDG_ATTACH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NETMAP_BDG_ATTACH@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _NETMAP_BDG_HOST@GOTPAGE
Lloh24:
	ldr	x9, [x9, _NETMAP_BDG_HOST@GOTPAGEOFF]
Lloh25:
	ldr	w19, [x9]
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh26:
	adrp	x8, _NETMAP_BDG_LIST@GOTPAGE
Lloh27:
	ldr	x8, [x8, _NETMAP_BDG_LIST@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	b	LBB0_2
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh29:
	adrp	x8, _NETMAP_BDG_NEWIF@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NETMAP_BDG_NEWIF@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh32:
	adrp	x8, _NETMAP_BDG_POLLING_ON@GOTPAGE
Lloh33:
	ldr	x8, [x8, _NETMAP_BDG_POLLING_ON@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	b	LBB0_2
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh35:
	adrp	x8, _NETMAP_BDG_DELIF@GOTPAGE
Lloh36:
	ldr	x8, [x8, _NETMAP_BDG_DELIF@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	b	LBB0_2
LBB0_18:
Lloh38:
	adrp	x8, _optind@GOTPAGE
Lloh39:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w8, w22
	b.eq	LBB0_20
; %bb.19:
	mov	w0, #-1
	bl	_usage
LBB0_20:
Lloh41:
	adrp	x8, _NETMAP_BDG_LIST@GOTPAGE
Lloh42:
	ldr	x8, [x8, _NETMAP_BDG_LIST@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	cmp	w22, #1
	csel	w1, w8, w25, eq
	csel	x0, xzr, x26, eq
	mov	x2, x19
	mov	x3, x21
	mov	x4, x20
	bl	_bdg_ctl
	cmp	x0, #0
	cset	w0, ne
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_13-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_17-LBB0_1)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"d:a:h:g:l:n:r:C:p:P:m:"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"bad option %c %s"

	.comm	_NETMAP_BDG_DETACH,4,2          ; @NETMAP_BDG_DETACH
	.comm	_NETMAP_BDG_ATTACH,4,2          ; @NETMAP_BDG_ATTACH
	.comm	_NETMAP_BDG_HOST,4,2            ; @NETMAP_BDG_HOST
	.comm	_NETMAP_BDG_NEWIF,4,2           ; @NETMAP_BDG_NEWIF
	.comm	_NETMAP_BDG_DELIF,4,2           ; @NETMAP_BDG_DELIF
	.comm	_NETMAP_BDG_LIST,4,2            ; @NETMAP_BDG_LIST
	.comm	_NETMAP_BDG_POLLING_ON,4,2      ; @NETMAP_BDG_POLLING_ON
	.comm	_NETMAP_BDG_POLLING_OFF,4,2     ; @NETMAP_BDG_POLLING_OFF
	.comm	_optind,4,2                     ; @optind
.subsections_via_symbols
