	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tdiGetMibForIfEntity           ## -- Begin function tdiGetMibForIfEntity
	.p2align	4, 0x90
_tdiGetMibForIfEntity:                  ## @tdiGetMibForIfEntity
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movl	%edi, %r14d
	movl	(%rsi), %edx
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_WARN
	movq	_INFO_CLASS_PROTOCOL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_INFO_TYPE_PROVIDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_IF_MIB_STATS_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	(%r15), %eax
	movl	%eax, -40(%rbp)
	movq	_IOCTL_TCP_QUERY_INFORMATION_EX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rax
	leaq	-40(%rbp), %rdx
	movl	%r14d, %edi
	movl	$16, %ecx
	movq	%rbx, %r8
	movl	$40, %r9d
	pushq	$0
	pushq	%rax
	callq	_DeviceIoControl
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r14d
	movl	32(%rbx), %esi
	movl	28(%rbx), %edx
	movl	24(%rbx), %ecx
	movl	16(%rbx), %r9d
	movl	20(%rbx), %r8d
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movq	(%rbx), %rax
	movzbl	(%rax), %esi
	movzbl	4(%rax), %edx
	movzbl	8(%rax), %ecx
	movzbl	12(%rax), %r8d
	movzbl	16(%rax), %r9d
	movzbl	20(%rax), %r10d
	movl	12(%rbx), %r11d
	movl	8(%rbx), %ebx
	subq	$8, %rsp
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r11
	pushq	%r10
	callq	_TRACE
	addq	$32, %rsp
	leaq	L_.str.4(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_TRACE
	movq	_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_WARN
	movq	_STATUS_UNSUCCESSFUL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCP_REQUEST_QUERY_INFORMATION_INIT,16,2 ## @TCP_REQUEST_QUERY_INFORMATION_INIT
	.comm	_STATUS_SUCCESS,4,2             ## @STATUS_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TdiGetMibForIfEntity(tcpFile %p,entityId %p)\n"

	.comm	_INFO_CLASS_PROTOCOL,4,2        ## @INFO_CLASS_PROTOCOL
	.comm	_INFO_TYPE_PROVIDER,4,2         ## @INFO_TYPE_PROVIDER
	.comm	_IF_MIB_STATS_ID,4,2            ## @IF_MIB_STATS_ID
	.comm	_IOCTL_TCP_QUERY_INFORMATION_EX,4,2 ## @IOCTL_TCP_QUERY_INFORMATION_EX
L_.str.1:                               ## @.str.1
	.asciz	"IOCTL Failed\n"

	.comm	_STATUS_UNSUCCESSFUL,4,2        ## @STATUS_UNSUCCESSFUL
L_.str.2:                               ## @.str.2
	.asciz	"TdiGetMibForIfEntity() => {\n  if_index ....................... %x\n  if_type ........................ %x\n  if_mtu ......................... %d\n  if_speed ....................... %x\n  if_physaddrlen ................. %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"  if_physaddr .................... %02x:%02x:%02x:%02x:%02x:%02x\n  if_descr ....................... %*s\n"

L_.str.4:                               ## @.str.4
	.asciz	"} status %08x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tdiGetMibForIfEntity           ; -- Begin function tdiGetMibForIfEntity
	.p2align	2
_tdiGetMibForIfEntity:                  ; @tdiGetMibForIfEntity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x1]
	stp	x21, x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
Lloh2:
	adrp	x8, _INFO_CLASS_PROTOCOL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INFO_CLASS_PROTOCOL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _INFO_TYPE_PROVIDER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _INFO_TYPE_PROVIDER@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x29, #-40]
Lloh8:
	adrp	x8, _IF_MIB_STATS_ID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IF_MIB_STATS_ID@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x20]
	stp	w9, w8, [x29, #-48]
Lloh11:
	adrp	x8, _IOCTL_TCP_QUERY_INFORMATION_EX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IOCTL_TCP_QUERY_INFORMATION_EX@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	sub	x2, x29, #48
	sub	x6, x29, #52
	mov	x0, x21
	mov	w3, #16
	mov	x4, x19
	mov	w5, #40
	mov	x7, #0
	bl	_DeviceIoControl
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldp	w8, w1, [x19, #28]
	ldp	w10, w9, [x19, #20]
	ldr	w11, [x19, #16]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
	ldr	x8, [x19]
	ldrb	w1, [x8]
	ldrb	w9, [x8, #4]
	ldrb	w10, [x8, #8]
	ldrb	w11, [x8, #12]
	ldrb	w12, [x8, #16]
	ldrb	w8, [x8, #20]
	ldp	w14, w13, [x19, #8]
	stp	x13, x14, [sp, #40]
	stp	x12, x8, [sp, #24]
	stp	x10, x11, [sp, #8]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	str	x9, [sp]
	bl	_TRACE
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	bl	_TRACE
Lloh20:
	adrp	x8, _STATUS_SUCCESS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _STATUS_SUCCESS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_WARN
Lloh24:
	adrp	x8, _STATUS_UNSUCCESSFUL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _STATUS_UNSUCCESSFUL@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_TCP_REQUEST_QUERY_INFORMATION_INIT,16,2 ; @TCP_REQUEST_QUERY_INFORMATION_INIT
	.comm	_STATUS_SUCCESS,4,2             ; @STATUS_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TdiGetMibForIfEntity(tcpFile %p,entityId %p)\n"

	.comm	_INFO_CLASS_PROTOCOL,4,2        ; @INFO_CLASS_PROTOCOL
	.comm	_INFO_TYPE_PROVIDER,4,2         ; @INFO_TYPE_PROVIDER
	.comm	_IF_MIB_STATS_ID,4,2            ; @IF_MIB_STATS_ID
	.comm	_IOCTL_TCP_QUERY_INFORMATION_EX,4,2 ; @IOCTL_TCP_QUERY_INFORMATION_EX
l_.str.1:                               ; @.str.1
	.asciz	"IOCTL Failed\n"

	.comm	_STATUS_UNSUCCESSFUL,4,2        ; @STATUS_UNSUCCESSFUL
l_.str.2:                               ; @.str.2
	.asciz	"TdiGetMibForIfEntity() => {\n  if_index ....................... %x\n  if_type ........................ %x\n  if_mtu ......................... %d\n  if_speed ....................... %x\n  if_physaddrlen ................. %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"  if_physaddr .................... %02x:%02x:%02x:%02x:%02x:%02x\n  if_descr ....................... %*s\n"

l_.str.4:                               ; @.str.4
	.asciz	"} status %08x\n"

.subsections_via_symbols
