	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bdg_ctl
_bdg_ctl:                               ## @bdg_ctl
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movq	%rcx, %r14
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_open
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	leaq	-104(%rbp), %rdi
	movl	$56, %esi
	callq	_bzero
	movq	_NETMAP_API@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	-104(%rbp), %rdi
	movq	%r15, %rsi
	movl	$7, %edx
	callq	_strncpy
LBB0_4:
	movl	%r12d, -96(%rbp)
	leaq	-104(%rbp), %rsi
	movq	%r14, %rdi
	callq	_parse_nmr_config
	movl	%ebx, -92(%rbp)
	leal	-128(%r12), %eax
	cmpl	$6, %eax
	ja	LBB0_32
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_25:
	cmpl	$0, -60(%rbp)
	movq	_NR_REG_ALL_NIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	je	LBB0_27
## %bb.26:
	movq	_NR_REG_ONE_NIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_27:
	orl	-72(%rbp), %ecx
	movl	%ecx, -72(%rbp)
	movl	-68(%rbp), %edx
	movl	%edx, -64(%rbp)
	movl	$1, %edx
	cmpl	%eax, %ecx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_29
## %bb.28:
	movl	-84(%rbp), %edx
LBB0_29:
	movl	%edx, -88(%rbp)
	movq	_NIOCREGIF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-104(%rbp), %rdx
	movl	%r13d, %edi
	callq	_ioctl
	movq	-104(%rbp), %rsi
	testl	%eax, %eax
	je	LBB0_30
## %bb.31:
	movl	%eax, %ebx
	cmpl	$128, %r12d
	leaq	L_.str.17(%rip), %rax
	leaq	L_.str.18(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.16(%rip), %rdi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_D
	jmp	LBB0_36
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_D
	movl	$-1, %ebx
	jmp	LBB0_37
LBB0_6:
	movq	_NIOCREGIF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-104(%rbp), %rdx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	callq	_ioctl
	movl	%eax, %ebx
	cmpl	$133, %r12d
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rsi
	cmoveq	%rax, %rsi
	cmpl	$-1, %ebx
	je	LBB0_7
## %bb.9:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_10
LBB0_11:
	movq	_NR_REG_ALL_NIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	testl	%r13d, %r13d
	je	LBB0_14
## %bb.12:
	movq	_NETMAP_BDG_HOST@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	je	LBB0_15
## %bb.13:
	movq	_NR_REG_NIC_SW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
LBB0_14:
	xorl	%r13d, %r13d
LBB0_15:
	movl	%r13d, -88(%rbp)
	movq	_NIOCREGIF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-104(%rbp), %rdx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	callq	_ioctl
	movl	%eax, %ebx
	cmpl	$132, %r12d
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.8(%rip), %rsi
	cmoveq	%rax, %rsi
	cmpl	$-1, %ebx
	je	LBB0_16
## %bb.17:
	leaq	L_.str.9(%rip), %rdi
LBB0_10:
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_ND
	jmp	LBB0_36
LBB0_32:
	movl	$0, -88(%rbp)
	movq	$0, -96(%rbp)
	movq	_NIOCGINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-104(%rbp), %rdx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	callq	_ioctl
	testl	%eax, %eax
	jne	LBB0_33
## %bb.34:
	movq	-80(%rbp), %rdx
	leaq	L_.str.20(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	jmp	LBB0_35
LBB0_18:
	movq	-104(%rbp), %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_22
## %bb.19:
	movq	_NIOCGINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-104(%rbp), %rdx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	callq	_ioctl
	testl	%eax, %eax
	jne	LBB0_20
## %bb.21:
	movl	-92(%rbp), %ecx
	movl	-88(%rbp), %edx
	leaq	L_.str.11(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_D
	jmp	LBB0_36
LBB0_30:
	cmpl	$128, %r12d
	leaq	L_.str.14(%rip), %rax
	leaq	L_.str.15(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.13(%rip), %rdi
	xorl	%ebx, %ebx
LBB0_35:
	xorl	%eax, %eax
	callq	_D
LBB0_36:
	movl	%r13d, %edi
	callq	_close
LBB0_37:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	$0, -92(%rbp)
	movq	_NIOCGINFO@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-104(%rbp), %rdx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	callq	_ioctl
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_36
## %bb.23:
	leaq	L_.str.12(%rip), %r14
	leaq	-104(%rbp), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	-88(%rbp), %esi
	movl	-92(%rbp), %edx
	movq	-104(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_D
	movq	-104(%rbp), %rax
	movb	$0, (%rax)
	incl	-92(%rbp)
	movl	(%r12), %esi
	movl	%r13d, %edi
	movq	%r15, %rdx
	callq	_ioctl
	testl	%eax, %eax
	je	LBB0_24
	jmp	LBB0_36
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_8
LBB0_16:
	leaq	L_.str.6(%rip), %rdi
LBB0_8:
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_ND
	movq	%r15, %rdi
	callq	_perror
	movl	$-1, %ebx
	jmp	LBB0_36
LBB0_33:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_bdg_ctl.cold.1
	jmp	LBB0_36
LBB0_20:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_bdg_ctl.cold.2
	jmp	LBB0_36
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_25
	.long	L0_0_set_25
	.long	L0_0_set_6
	.long	L0_0_set_18
	.long	L0_0_set_11
	.long	L0_0_set_6
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function bdg_ctl.cold.1
_bdg_ctl.cold.1:                        ## @bdg_ctl.cold.1
	.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
	movq	%rdi, %rbx
	leaq	L_.str.19(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_ND
	movq	%rbx, %rdi
	callq	_perror
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function bdg_ctl.cold.2
_bdg_ctl.cold.2:                        ## @bdg_ctl.cold.2
	.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
	movq	%rdi, %rbx
	leaq	L_.str.10(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_ND
	movq	%rbx, %rdi
	callq	_perror
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/dev/netmap"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
L_.str.1:                               ## @.str.1
	.asciz	"Unable to open /dev/netmap"

	.comm	_NETMAP_API,4,2                 ## @NETMAP_API
	.comm	_NIOCREGIF,4,2                  ## @NIOCREGIF
L_.str.2:                               ## @.str.2
	.asciz	"Unable to %s %s"

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

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

L_.str.5:                               ## @.str.5
	.asciz	"Success to %s %s"

	.comm	_NR_REG_ALL_NIC,4,2             ## @NR_REG_ALL_NIC
	.comm	_NETMAP_BDG_HOST,4,2            ## @NETMAP_BDG_HOST
	.comm	_NR_REG_NIC_SW,4,2              ## @NR_REG_NIC_SW
L_.str.6:                               ## @.str.6
	.asciz	"Unable to %s %s to the bridge"

L_.str.7:                               ## @.str.7
	.asciz	"detach"

L_.str.8:                               ## @.str.8
	.asciz	"attach"

L_.str.9:                               ## @.str.9
	.asciz	"Success to %s %s to the bridge"

	.comm	_NIOCGINFO,4,2                  ## @NIOCGINFO
L_.str.10:                              ## @.str.10
	.asciz	"Unable to obtain info for %s"

L_.str.11:                              ## @.str.11
	.asciz	"%s at bridge:%d port:%d"

L_.str.12:                              ## @.str.12
	.asciz	"bridge:%d port:%d %s"

	.comm	_NR_REG_ONE_NIC,4,2             ## @NR_REG_ONE_NIC
L_.str.13:                              ## @.str.13
	.asciz	"polling on %s %s"

L_.str.14:                              ## @.str.14
	.asciz	"started"

L_.str.15:                              ## @.str.15
	.asciz	"stopped"

L_.str.16:                              ## @.str.16
	.asciz	"polling on %s %s (err %d)"

L_.str.17:                              ## @.str.17
	.asciz	"couldn't start"

L_.str.18:                              ## @.str.18
	.asciz	"couldn't stop"

L_.str.19:                              ## @.str.19
	.asciz	"Unable to get if info for %s"

L_.str.20:                              ## @.str.20
	.asciz	"%s: %d queues."

	.no_dead_strip	_bdg_ctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bdg_ctl
_bdg_ctl:                               ; @bdg_ctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x23, x4
	mov	x24, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.1:
	mov	x19, x0
	add	x0, sp, #24
	mov	w1, #56
	bl	_bzero
Lloh5:
	adrp	x8, _NETMAP_API@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NETMAP_API@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #72]
	cbz	x20, LBB0_3
; %bb.2:
	ldr	x0, [sp, #24]
	mov	x1, x20
	mov	w2, #7
	bl	_strncpy
LBB0_3:
	str	w21, [sp, #32]
	add	x1, sp, #24
	mov	x0, x24
	bl	_parse_nmr_config
	str	w23, [sp, #36]
	sub	w8, w21, #128
	cmp	w8, #6
	b.hi	LBB0_15
; %bb.4:
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
Lloh10:
	adrp	x8, _NR_REG_ONE_NIC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NR_REG_ONE_NIC@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _NR_REG_ALL_NIC@GOTPAGE
Lloh14:
	ldr	x9, [x9, _NR_REG_ALL_NIC@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	ldr	w10, [sp, #68]
	cmp	w10, #0
	csel	w8, w9, w8, eq
	ldp	w10, w11, [sp, #56]
	ldr	w12, [sp, #44]
	orr	w8, w10, w8
	str	w11, [sp, #64]
	cmp	w8, w9
	csinc	w9, w12, wzr, ne
	str	w8, [sp, #56]
	str	w9, [sp, #40]
Lloh16:
	adrp	x8, _NIOCREGIF@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NIOCREGIF@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	bl	_ioctl
	mov	x22, x0
	ldr	x8, [sp, #24]
	cbz	w0, LBB0_20
; %bb.6:
Lloh19:
	adrp	x9, l_.str.18@PAGE
Lloh20:
	add	x9, x9, l_.str.18@PAGEOFF
Lloh21:
	adrp	x10, l_.str.17@PAGE
Lloh22:
	add	x10, x10, l_.str.17@PAGEOFF
	cmp	w21, #128
	csel	x9, x10, x9, eq
	stp	x9, x22, [sp, #8]
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.16@PAGE
Lloh24:
	add	x0, x0, l_.str.16@PAGEOFF
	b	LBB0_21
LBB0_7:
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_D
	mov	w22, #-1
	b	LBB0_23
LBB0_8:
Lloh27:
	adrp	x8, _NIOCREGIF@GOTPAGE
Lloh28:
	ldr	x8, [x8, _NIOCREGIF@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	bl	_ioctl
Lloh30:
	adrp	x8, l_.str.4@PAGE
Lloh31:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh32:
	adrp	x9, l_.str.3@PAGE
Lloh33:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	w21, #133
	csel	x1, x9, x8, eq
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.9:
	mov	x22, x0
	str	x20, [sp]
Lloh34:
	adrp	x0, l_.str.5@PAGE
Lloh35:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_ND
	b	LBB0_22
LBB0_10:
Lloh36:
	adrp	x8, _NR_REG_ALL_NIC@GOTPAGE
Lloh37:
	ldr	x8, [x8, _NR_REG_ALL_NIC@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	str	w8, [sp, #56]
	cbz	w22, LBB0_13
; %bb.11:
Lloh39:
	adrp	x8, _NETMAP_BDG_HOST@GOTPAGE
Lloh40:
	ldr	x8, [x8, _NETMAP_BDG_HOST@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	cmp	w8, w22
	b.eq	LBB0_13
; %bb.12:
	mov	w22, #0
Lloh42:
	adrp	x8, _NR_REG_NIC_SW@GOTPAGE
Lloh43:
	ldr	x8, [x8, _NR_REG_NIC_SW@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	str	w8, [sp, #56]
LBB0_13:
	str	w22, [sp, #40]
Lloh45:
	adrp	x8, _NIOCREGIF@GOTPAGE
Lloh46:
	ldr	x8, [x8, _NIOCREGIF@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	bl	_ioctl
Lloh48:
	adrp	x8, l_.str.8@PAGE
Lloh49:
	add	x8, x8, l_.str.8@PAGEOFF
Lloh50:
	adrp	x9, l_.str.7@PAGE
Lloh51:
	add	x9, x9, l_.str.7@PAGEOFF
	cmp	w21, #132
	csel	x1, x9, x8, eq
	cmn	w0, #1
	b.eq	LBB0_28
; %bb.14:
	mov	x22, x0
	str	x20, [sp]
Lloh52:
	adrp	x0, l_.str.9@PAGE
Lloh53:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_ND
	b	LBB0_22
LBB0_15:
	str	wzr, [sp, #40]
	str	xzr, [sp, #32]
Lloh54:
	adrp	x8, _NIOCGINFO@GOTPAGE
Lloh55:
	ldr	x8, [x8, _NIOCGINFO@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	bl	_ioctl
	mov	x22, x0
	cbnz	w0, LBB0_30
; %bb.16:
	ldr	x8, [sp, #48]
	stp	x20, x8, [sp]
Lloh57:
	adrp	x0, l_.str.20@PAGE
Lloh58:
	add	x0, x0, l_.str.20@PAGEOFF
	b	LBB0_21
LBB0_17:
	ldr	x0, [sp, #24]
	bl	_strlen
	cbz	w0, LBB0_24
; %bb.18:
Lloh59:
	adrp	x8, _NIOCGINFO@GOTPAGE
Lloh60:
	ldr	x8, [x8, _NIOCGINFO@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	bl	_ioctl
	mov	x22, x0
	cbnz	w0, LBB0_31
; %bb.19:
	ldp	w9, w8, [sp, #36]
	stp	x8, x9, [sp, #8]
	str	x20, [sp]
Lloh62:
	adrp	x0, l_.str.11@PAGE
Lloh63:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_21
LBB0_20:
Lloh64:
	adrp	x9, l_.str.15@PAGE
Lloh65:
	add	x9, x9, l_.str.15@PAGEOFF
Lloh66:
	adrp	x10, l_.str.14@PAGE
Lloh67:
	add	x10, x10, l_.str.14@PAGEOFF
	cmp	w21, #128
	csel	x9, x10, x9, eq
	stp	x8, x9, [sp]
Lloh68:
	adrp	x0, l_.str.13@PAGE
Lloh69:
	add	x0, x0, l_.str.13@PAGEOFF
LBB0_21:
	bl	_D
LBB0_22:
	mov	x0, x19
	bl	_close
LBB0_23:
	mov	x0, x22
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_24:
	stp	wzr, wzr, [sp, #36]
Lloh70:
	adrp	x21, _NIOCGINFO@GOTPAGE
Lloh71:
	ldr	x21, [x21, _NIOCGINFO@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #24
	mov	x0, x19
	bl	_ioctl
	mov	w22, #0
	cbnz	w0, LBB0_22
; %bb.25:
Lloh72:
	adrp	x20, l_.str.12@PAGE
Lloh73:
	add	x20, x20, l_.str.12@PAGEOFF
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	ldp	w10, w9, [sp, #36]
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
	mov	x0, x20
	bl	_D
	ldr	x8, [sp, #24]
	strb	wzr, [x8]
	ldr	w8, [sp, #36]
	add	w8, w8, #1
	str	w8, [sp, #36]
	ldr	w1, [x21]
	add	x2, sp, #24
	mov	x0, x19
	bl	_ioctl
	mov	w22, #0
	cbz	w0, LBB0_26
	b	LBB0_22
LBB0_27:
	str	x20, [sp]
Lloh74:
	adrp	x0, l_.str.2@PAGE
Lloh75:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_29
LBB0_28:
	str	x20, [sp]
Lloh76:
	adrp	x0, l_.str.6@PAGE
Lloh77:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_29:
	bl	_ND
	mov	x0, x20
	bl	_perror
	mov	w22, #-1
	b	LBB0_22
LBB0_30:
	mov	x0, x20
	bl	_bdg_ctl.cold.1
	b	LBB0_22
LBB0_31:
	mov	x0, x20
	bl	_bdg_ctl.cold.2
	b	LBB0_22
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
                                        ; -- End function
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2                               ; -- Begin function bdg_ctl.cold.1
_bdg_ctl.cold.1:                        ; @bdg_ctl.cold.1
	.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, x0
Lloh78:
	adrp	x0, l_.str.19@PAGE
Lloh79:
	add	x0, x0, l_.str.19@PAGEOFF
	mov	x1, x19
	bl	_ND
	mov	x0, x19
	bl	_perror
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh78, Lloh79
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function bdg_ctl.cold.2
_bdg_ctl.cold.2:                        ; @bdg_ctl.cold.2
	.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, x0
Lloh80:
	adrp	x0, l_.str.10@PAGE
Lloh81:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	x1, x19
	bl	_ND
	mov	x0, x19
	bl	_perror
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh80, Lloh81
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/dev/netmap"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
l_.str.1:                               ; @.str.1
	.asciz	"Unable to open /dev/netmap"

	.comm	_NETMAP_API,4,2                 ; @NETMAP_API
	.comm	_NIOCREGIF,4,2                  ; @NIOCREGIF
l_.str.2:                               ; @.str.2
	.asciz	"Unable to %s %s"

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

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

l_.str.5:                               ; @.str.5
	.asciz	"Success to %s %s"

	.comm	_NR_REG_ALL_NIC,4,2             ; @NR_REG_ALL_NIC
	.comm	_NETMAP_BDG_HOST,4,2            ; @NETMAP_BDG_HOST
	.comm	_NR_REG_NIC_SW,4,2              ; @NR_REG_NIC_SW
l_.str.6:                               ; @.str.6
	.asciz	"Unable to %s %s to the bridge"

l_.str.7:                               ; @.str.7
	.asciz	"detach"

l_.str.8:                               ; @.str.8
	.asciz	"attach"

l_.str.9:                               ; @.str.9
	.asciz	"Success to %s %s to the bridge"

	.comm	_NIOCGINFO,4,2                  ; @NIOCGINFO
l_.str.10:                              ; @.str.10
	.asciz	"Unable to obtain info for %s"

l_.str.11:                              ; @.str.11
	.asciz	"%s at bridge:%d port:%d"

l_.str.12:                              ; @.str.12
	.asciz	"bridge:%d port:%d %s"

	.comm	_NR_REG_ONE_NIC,4,2             ; @NR_REG_ONE_NIC
l_.str.13:                              ; @.str.13
	.asciz	"polling on %s %s"

l_.str.14:                              ; @.str.14
	.asciz	"started"

l_.str.15:                              ; @.str.15
	.asciz	"stopped"

l_.str.16:                              ; @.str.16
	.asciz	"polling on %s %s (err %d)"

l_.str.17:                              ; @.str.17
	.asciz	"couldn't start"

l_.str.18:                              ; @.str.18
	.asciz	"couldn't stop"

l_.str.19:                              ; @.str.19
	.asciz	"Unable to get if info for %s"

l_.str.20:                              ; @.str.20
	.asciz	"%s: %d queues."

	.no_dead_strip	_bdg_ctl
.subsections_via_symbols
